about summary refs log tree commit diff
path: root/pkgs/applications/virtualization/qemu
AgeCommit message (Collapse)AuthorFilesLines
2022-09-09qemu: make sure to not mix python versionsSandro Jäckel1-2/+2
2022-09-02qemu: 7.0.0 -> 7.1.0Alyssa Ross3-72/+36
2022-08-28qemu: add patch for CVE-2020-14394Robert Scott1-0/+5
2022-08-28qemu: add patches for CVE-2022-0216Robert Scott1-0/+16
2022-08-05Revert "qemu: fix build w/glibc-2.33"Alyssa Ross1-12/+0
This reverts commit 04be5ced7efb8838821a16c78af4ad91ce38fa5a. Builds fine without the change now, so presumably either Glibc, QEMU, or both, fixed this in the meantime.
2022-08-03python3Packages.sphinx-rtd-theme: rename from sphinx_rtd_themeMartin Weinelt1-1/+1
2022-07-25qemu: fix CVE-2022-35414Robin Gloster1-0/+5
2022-07-17qemu: Add patch to fix 9p support on DarwinYuriy Taraday1-1/+7
This patch fixes issues with error codes on Darwin host and Linux guest. It has landed in QEMU master, so should be included in the next release. Related to #108984.
2022-07-06qemu-utils: ensure we cut off qemu dependencyArthur Gautier1-0/+1
2022-07-06qemu-utils: remove qemu dependencyArthur Gautier1-1/+2
qemu-utils was pulling qemu which is a 900MB dependency. By removing reference to it (unneeded), we're saving space on our deployments. qemu-utils is a dependency of cloud-utils
2022-05-21qemu: add workaround for nested virtualisation (#171789)Yuka1-0/+6
2022-05-08qemu: stabilize USB EHCIArnout Engelen1-0/+6
This patch fixes a problem that caused the NixOS tests that tested booting from USB to fail periodically. Fixes #15690, fixes #104642, fixes #170803 Also submitted upstream at https://lists.nongnu.org/archive/html/qemu-devel/2022-05/msg01484.html
2022-04-20qemu: 6.2.0 -> 7.0.0Alyssa Ross5-203/+227
The guest agent now refuses to build unless being built for one of a list of specific supported operating systems. Co-authored-by: Will Cohen <willcohen@users.noreply.github.com>
2022-04-10qemu: remove redundant copy of qemu-gaAlyssa Ross1-2/+3
There's no reason to have one copy of qemu-ga in $out and another in $ga, and because we only applied remove-references-to to one of the copies, it caused a collision when QEMU was used in a buildEnv.
2022-04-02qemu: add patch to fix MTP devicesmatthewcroughan1-0/+5
Co-authored-by: Alyssa Ross <hi@alyssa.is>
2022-03-24Merge pull request #165297 from Stunkymonkey/treewide-pname-version-17davidak1-2/+2
treewide: rename name to pname&version
2022-03-23treewide: rename name to pname&versionFelix Buehler1-2/+2
2022-03-22qemu: support running Linux 5.17 on aarch64-darwinIvan Babrou1-0/+9
2022-03-14qemu: remove 9p O_NOATIME patchAlyssa Ross2-51/+0
This is redundant with QEMU commit a5804fcf7b ("9pfs: local: ignore O_NOATIME if we don't have permissions"), included in QEMU since 5.1.0, which will retry opens without O_NOATIME if they fail with it.
2022-03-10qemu: backport 9p-darwin to v6.2.0Will Cohen5-41/+417
2022-03-04qemu: put virtiofsd in bin/Alyssa Ross1-0/+2
According to the QEMU documentation, virtiofsd is supposed to be run directly by users. It therefore makes sense to have it in bin/, so it will be in PATH. Such a change wouldn't make sense upstream, because it would then conflict with the virtiofsd package, which is generally preferred if available. But in Nixpkgs, we don't have to worry about that and can just make QEMU's virtiofsd a lower priority than the one from the dedicated package. [1]: https://qemu.readthedocs.io/en/latest/tools/virtiofsd.html Fixes: https://github.com/NixOS/nixpkgs/issues/113172 ("QEmu: virtiofsd prone to be garbage collected.") Fixes: https://github.com/NixOS/nixpkgs/pull/153007 ("nixos/libvirtd: add ${cfg.qemu.package}/libexec to PATH")
2022-03-03qemu: fix qemu.ga including qemu in it's closureMatthias Treydte1-2/+3
The qemu-ga binary is already moved to a separate output but still depends on qemu, adding about 600MiB to it's closure. The command "strings qemu-ga" reveals that something like /nix/store/bqgpvv5qrpb741swczqk3lrdm5gzaqx2-qemu-host-cpu-only-6.2.0/bin is contained, causing this false positive. So use remove-references-to to reduce the closure to about 600KiB.
2022-02-19Merge pull request #144946 from risicle/ris-qemu-testsRobert Scott1-2/+40
qemu: enable some basic tests
2022-02-06qemu: fixup basic tests, enable in passthru.testsRobert Scott1-2/+40
these may not be reliable enough to enable by default, but enabling them as a passthru may allow us to get a feel for which platforms have trouble with them
2022-02-03Merge remote-tracking branch 'origin/staging-next' into stagingJonathan Ringer1-27/+1
Conflicts: pkgs/development/python-modules/awesomeversion/default.nix pkgs/development/python-modules/md2gemini/default.nix pkgs/development/python-modules/mill-local/default.nix pkgs/development/python-modules/pyatv/default.nix pkgs/development/python-modules/pyezviz/default.nix pkgs/development/python-modules/pyinsteon/default.nix pkgs/development/python-modules/pylitterbot/default.nix pkgs/development/python-modules/pynuki/default.nix pkgs/development/python-modules/pypck/default.nix pkgs/development/python-modules/types-requests/default.nix pkgs/top-level/aliases.nix
2022-02-03qemu: remove broker wrapper scriptPeter Hoeg1-27/+1
2022-01-20qemu: 6.1.0 -> 6.2.0Alyssa Ross2-92/+3
QEMU now supports automatically detecting which audio drivers to build, so we don't need to pass --audio-drv-list anymore. pkgsMusl.qemu* doesn't build at the moment because of dependency issues, but with a lot of hacks I was able to do enough of a build to be confident the changes to patches etc. are correct for Musl.
2022-01-06Merge pull request #143060 from zhaofengli/binfmt-argv00x4A6F2-0/+110
nixos/binfmt: Add QEMU wrapper to preserve argv[0]
2022-01-04qemu: add meta.mainProgramPedroRegisPOAR1-0/+1
2022-01-02Merge pull request #151233 from Madouura/dev/qemuSandro1-1/+4
2021-12-27qemu: fix cross compilationNick Cao1-2/+6
2021-12-26qemu: disable debug info on aarch64-linuxVladimír Čunát1-1/+2
This is basically a partial revert of a0262a08026.
2021-12-18qemu: add support for JACK audioMadoura1-1/+4
2021-12-07Merge remote-tracking branch 'nixpkgs/master' into staging-nextAlyssa Ross1-0/+6
Conflicts: pkgs/development/libraries/libunwind/default.nix
2021-12-07qemu: Add patch for socket_sockaddr_to_address_unix assertion errorsZhaofeng Li1-0/+6
See also: - http://bugs.debian.org/993145 - https://bugs.archlinux.org/task/72115
2021-12-02Merge remote-tracking branch 'nixpkgs/staging-next' into stagingAlyssa Ross1-2/+1
Conflicts: pkgs/servers/search/groonga/default.nix
2021-12-02qemu: fix darwin buildJörg Thalheim1-2/+1
2021-12-01qemu: Add binfmt preserve-argv[0] wrapperZhaofeng Li2-0/+110
2021-11-30Merge remote-tracking branch 'nixpkgs/staging-next' into stagingAlyssa Ross1-2/+25
Conflicts: pkgs/applications/virtualization/qemu/default.nix
2021-11-30qemu: emit warnings when KVM acceleration is not usableMartin Schwaighofer1-1/+24
This fixes the qemu-kvm wrapper we add for convenience silently not using KVM, when the system would support it by at least leaving an indication in the log that the build ran slower because it ran without KVM.
2021-11-30qemu, runInLinuxVM: fix KVM availability checkMartin Schwaighofer1-1/+1
KVM should only be considered abailable if /dev/kvm exists and is read-writable by the user that is trying to launch it. The previous check for existance only had the consequence that on some Linux distributions running VMs with Nix's QEMU only worked if KVM was NOT installed. fixes #124371
2021-11-29Merge pull request #146961 from alyssais/qemu-debugMaximilian Bosch1-2/+3
qemu: enable debug info
2021-11-25qemu: only include alsa-lib for alsa supportAlyssa Ross1-1/+2
2021-11-25qemu: never use bundled MesonAlyssa Ross1-0/+3
It's better to fail to build if our version of Meson isn't compatible with QEMU's, so we'll know something is wrong. Otherwise, we'll get subtle breakages that only manifest at runtime, which I think might be what happened in 9e403b19a14 ("qemu: 5.1.0 -> 5.2.0") to necessitate autoPatchelfHook.
2021-11-22Merge master into staging-nextgithub-actions[bot]1-0/+6
2021-11-22qemu: fix managedsave (snapshot creation) with QXL video deviceLászló Vaskó1-0/+6
Backport patch from 6.2.0-rc0
2021-11-21qemu: enable debug infoAlyssa Ross1-2/+3
I dropped autoPatchelfHook because it got confused with the debug objects, and I can't reproduce the pixman linker errors that caused it to be introduced in #106988 ("qemu: 5.1.0 -> 5.2.0").
2021-11-15Merge staging-next into staginggithub-actions[bot]1-2/+5
2021-11-15Merge pull request #146036 from jmgao/qemu_io_uringArtturi1-2/+5
2021-11-14qemu: add support for io_uringJosh Gao1-2/+5