summaryrefslogtreecommitdiff
path: root/gnu/packages/virtualization.scm
AgeCommit message (Collapse)Author
2021-01-27gnu: python-xyz: Move a few modules to (gnu packages python-build).Maxim Cournoyer
* gnu/packages/python-xyz.scm (python-pep517): Inherit from python-pep517-bootstrap. Remove the inherited common fields. (python-poetry-core, python-wheel) (python-toml): Move to ... * gnu/packages/python-build.scm: ... here, a new module. (python-pep517-bootstrap): New package. * gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
2021-01-14gnu: qemu: Fix ioctl(…, SIOCGIFCONF, …) for emulated 64 bit architectures.Stefan
* gnu/packages/virtualization.scm (qemu): Add a snippet to fix a bug in the do_ioctl_ifconf() function of qemu to make ioctl(…, SIOCGIFCONF, …) work for emulated 64 bit architectures. The sizeof(struct ifreq) is 40 for 64 bit and 32 for 32 bit architectures. This structure contains a union of other structures, of which struct ifmap is the biggest for 64 bit architectures. Calling ioctl(…, SIOCGIFCONF, …) fills a struct sockaddr of that union, and do_ioctl_ifconf() only considered that struct sockaddr for the size of the union, which has the same size as struct ifmap on 32 bit architectures. So do_ioctl_ifconf() assumed a wrong size of 32 for struct ifreq instead of the correct size of 40 on 64 bit architectures. The fix makes do_ioctl_ifconf() handle struct ifmap as the biggest part of the union, treating struct ifreq with the correct size. This fixes (@ (guix build syscalls) network-interface-names) when used in emulated 64 bit architectures. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-14gnu: lxc: Update to 4.0.6.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (lxc): Update to 4.0.6.
2021-01-12gnu: skopeo: Update to 1.2.1.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.1.
2021-01-03gnu: osinfo-db: Update to 20201218.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (osinfo-db): Update to 20201218.
2021-01-02gnu: xen: Update to 4.14.1.Vincent Legoll
* gnu/packages/virtualization.scm (xen): Update to 4.14.1. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-12-24gnu: lxc: Update to 4.0.5.Vincent Legoll
* gnu/packages/virtualization.scm (lxc): Update to 4.0.5. Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-06gnu: python-transient: Update to 0.12.Brett Gilio
* gnu/packages/virtualization.scm (python-transient): Update to 0.12.
2020-12-02gnu: qemu-minimal: Fix emulation build list.Efraim Flashner
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust configure-flags logic to match using string-prefix instead of a full match when determining qemu targets.
2020-11-25gnu: python-transient: Update to 0.11.Brett Gilio
* gnu/packages/virtualization.scm (python-transient): Update to 0.11.
2020-11-22gnu: Add python-transient.Brett Gilio
* gnu/packages/virtualization.scm (python-transient): New variable.
2020-11-16gnu: xen: Update to 4.14.0.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (xen): Update to 4.14.0.
2020-11-16gnu: xen: Fix build failure.Tobias Geerinckx-Rice
This reverts commit 6177320d7816f2115bb0f6027cd51c29903fe45e, obsoleted by <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30756>.
2020-11-15gnu: qemu: Remove left-over debugging statement.Tobias Geerinckx-Rice
This follows up on 1b0cda6b442dd79324eaeb5b552cbc32faca3726. Sigh. * gnu/packages/virtualization.scm (qemu)[arguments]: Remove the FAIL.
2020-11-15gnu: qemu: Extend I/O test time-outs.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (qemu)[arguments]: Add an ‘extend-test-time-outs’ phase.
2020-11-13gnu: criu: Support nftables.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (criu)[inputs]: Add nftables.
2020-11-13gnu: criu: Update to 3.15.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (criu): Update to 3.15.
2020-11-04gnu: skopeo: Build documentation.Jelle Licht
* gnu/packages/virtualization.scm (skopeo)[native-inputs]: Add go-github-com-go-md2man. [arguments]<phases>{build-docs}: New phase. {install}: Update make target to install manpages. Install example configuration.
2020-10-16gnu: runc, skopeo, docker-cli, umoci: Don't 'chdir' in build phases.Ludovic Courtès
This fixes breaks the 'install-license-files' phase added in 6b793fa66218337a1f638466753cd5326a6a6c18 and is generally not good practice. Reported by divoplade on #guix. * gnu/packages/virtualization.scm (runc)[arguments]: Use 'with-directory-excursion' instead of 'chdir' in build phases. (skopeo)[arguments]: Likewise. (umoci)[arguments]: Likewise. * gnu/packages/docker.scm (docker-cli)[arguments]: In 'install' phase, remove call to 'chdir' and adjust 'install-file' argument accordingly.
2020-10-14gnu: osinfo-db: Update to 20201011.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (osinfo-db): Update to 20201011.
2020-10-01gnu: skopeo: Update to 1.2.0.Jelle Licht
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.0. [source]: Update uri. [arguments]: Update #:import-path. <phases>: In the 'build' phase, update make target. [home-page]: Update to current.
2020-09-19gnu: qemu: Move HTML documentation to the doc output.Maxim Cournoyer
* gnu/packages/virtualization.scm (qemu)[outputs]: Add "doc" output. [phases]{create-samba-wrapper}: Correctly refer to the outputs keyword argument. {move-html-doc}: Add phase.
2020-09-19gnu: qemu: Install the full documentation as an info manual.Maxim Cournoyer
* gnu/packages/patches/qemu-build-info-manual.patch: Add patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/virtualization.scm (qemu)[source]: Use it. [phases]{install-info}: Remove phase. {create-samba-wrapper}: Add after 'install.
2020-09-19gnu: qemu: Enable parallel tests.Maxim Cournoyer
I've built QEMU 5.1.0 tens of times on a 24 logical core machines, and haven't encountered a failure. Tentatively re-enabling parallel tests. * gnu/packages/virtualization.scm (qemu)[arguments]: Drop the \#:parallel-tests? #f argument. [phases]{configure}: Fix indentation.
2020-09-19gnu: qemu: Fix indentation.Maxim Cournoyer
* gnu/packages/virtualization.scm (qemu): Fix indentation.
2020-09-19gnu: qemu: Disable the bios-tables-test test.Maxim Cournoyer
This works around <https://issues.guix.info/43048>. * gnu/packages/virtualization.scm (qemu)[phases]{disable-unusable-tests}: Move after unpack. Combine the existing substitute patterns on a single usage of substitute*. Disable the bios-tables-test test in tests/qtest/Makefile.include.
2020-09-19gnu: qemu: Update to 5.1.0.Maxim Cournoyer
* gnu/packages/virtualization.scm (qemu): Update to 5.1.0.
2020-09-14gnu: ganeti: Use pandoc instead of ghc-pandoc.zimoun
* gnu/packages/text-editors.scm (ganeti)[native-inputs]: Replace ghc-pandoc with pandoc. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-08-30gnu: osinfo-db: Update to 20200813.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (osinfo-db): Update to 20200813.
2020-08-19gnu: ganeti: Tell GHC to use shared libraries.Timothy Sample
Fixes <https://bugs.gnu.org/42934>. Reported by Marius Bakke <marius@gnu.org>. * gnu/packages/virtualization.scm (ganeti)[arguments]: Add a phase that tells GHC to use shared libraries.
2020-07-21gnu: bubblewrap: Build with Python 3.Marius Bakke
* gnu/packages/virtualization.scm (bubblewrap)[native-inputs]: Change from PYTHON-2 to PYTHON-WRAPPER.
2020-07-17gnu: ganeti-instance-debootstrap: Use a source file-name.Efraim Flashner
* gnu/packages/virtualization.scm (ganeti-instance-debootstrap)[source]: Add a file-name field.
2020-07-16gnu: Add ganeti-instance-debootstrap.Marius Bakke
* gnu/packages/virtualization.scm (ganeti-instance-debootstrap): New public variable.
2020-07-16gnu: Add ganeti-instance-guix.Marius Bakke
* gnu/packages/virtualization.scm (ganeti-instance-guix): New public variable.
2020-07-16gnu: Add ganeti.Marius Bakke
* gnu/packages/virtualization.scm (system->qemu-target, ganeti): New variables. * gnu/packages/patches/ganeti-deterministic-manual.patch, gnu/packages/patches/ganeti-disable-version-symlinks.patch, gnu/packages/patches/ganeti-drbd-compat.patch, gnu/packages/patches/ganeti-haskell-pythondir.patch, gnu/packages/patches/ganeti-os-disk-size.patch, gnu/packages/patches/ganeti-preserve-PYTHONPATH.patch, gnu/packages/patches/ganeti-shepherd-master-failover.patch, gnu/packages/patches/ganeti-shepherd-support.patch: New files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2020-07-14gnu: virt-manager: Remove unused input.Marius Bakke
* gnu/packages/virtualization.scm (virt-manager)[inputs]: Remove PYTHON-IPADDRESS.
2020-07-12gnu: Remove ".git" from "https://github/…/….git".Ludovic Courtès
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-06-30gnu: umoci: Update to 0.4.6.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (umoci): Update to 0.4.6. [source, arguments]: Update import path.
2020-06-03gnu: osinfo-db: Update to 20200529.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (osinfo-db): Update to 20200529.
2020-06-03gnu: osinfo-db-tools: Update to 1.8.0.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (osinfo-db-tools): Update to 1.8.0.
2020-05-26gnu: virt-manager: Work towards enabling some tests.Christopher Baines
* gnu/packages/virtualization.scm (virt-manager)[arguments]: Set #:test-target to "test_ui", replace the 'check phase. [native-inputs]: Add some inputs required for running tests.
2020-05-22packages: Introduce <content-hash> and use it in <origin>.Ludovic Courtès
* guix/packages.scm (<content-hash>): New record type. (define-content-hash-constructor, build-content-hash) (content-hash): New macros. (print-content-hash): New procedure. (<origin>): Rename constructor to '%origin'. [sha256]: Remove field. [hash]: New field. Adjust users. (origin-compatibility-helper, origin): New macros. (origin-sha256): New deprecated procedure. (origin->derivation): Adjust accordingly. * tests/packages.scm ("package-source-derivation, origin, sha512"): New test. * guix/tests.scm: Hide (gcrypt hash) 'sha256' for proper syntax matching. * tests/challenge.scm: Add #:prefix for (gcrypt hash) and adjust users. * tests/derivations.scm: Likewise. * tests/store.scm: Likewise. * tests/graph.scm ("bag DAG, including origins"): Provide 'sha256' field with the right length. * gnu/packages/aspell.scm (aspell-dictionary) (aspell-dict-ca, aspell-dict-it): Use 'hash' and 'content-hash' for proper syntax matching. * gnu/packages/bash.scm (bash-patch): Rename 'sha256' to 'sha256-bv'. * gnu/packages/bootstrap.scm (bootstrap-executable): Rename 'sha256' to 'bv'. * gnu/packages/readline.scm (readline-patch): Likewise. * gnu/packages/virtualization.scm (qemu-patch): Rename 'sha256' to 'sha256-bv'. * guix/import/utils.scm: Hide (gcrypt hash) 'sha256'.
2020-05-21gnu: criu: Download sources over HTTPS.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (criu)[source]: Use HTTPS.
2020-05-21gnu: criu: Update to 3.14.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (criu): Update to 3.14.
2020-05-17gnu: qemu-minimal: Use 'match' to find architecture.Efraim Flashner
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Use 'match' to target the correct architecture.
2020-05-14gnu: qemu-minimal: Only build for the host's architecture.Efraim Flashner
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust configure-flags so that each architecture only builds for its native architectures. [synopsis]: Adjust to clarify it's only for the host's architecture.
2020-05-08gnu: QEMU: Update to 5.0.0.Marius Bakke
* gnu/packages/patches/qemu-CVE-2020-1711.patch, gnu/packages/patches/qemu-CVE-2020-7039.patch, gnu/packages/patches/qemu-CVE-2020-7211.patch, gnu/packages/patches/qemu-CVE-2020-8608.patch, gnu/packages/patches/qemu-fix-documentation-build-failure.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/virtualization.scm (qemu)[source](patches): Remove. [arguments]: Add phase 'patch-/bin/sh-references'. In the 'configure' phase, add shebang substitutions. Remove phase 'prevent-network-configuration'. [inputs]: Change from LIBCAP to LIBCAP-NG.
2020-05-05Merge branch 'master' into core-updatesMarius Bakke
2020-05-03gnu: qemu-minimal: Don't include libcacard as an input.Christopher Baines
This probably isn't useful for QEMU without GUI support. * gnu/package/virtualization.scm (qemu-minimal)[inputs]: Don't include libcacard.
2020-05-03gnu: qemu: Add libcacard as an input to enable smartcard support.Christopher Baines
This fixes an error in gnome-boxes when starting virtual machines: Unable to start domain: unsupported configuration: this QEMU binary lacks smartcard passthrough mode support * gnu/packages/virtualization.scm (qemu)[inputs]: Add libcacard.