qemu: add workaround for nested virtualisation (#171789)

main
Yuka 2 years ago committed by GitHub
parent 4d6a40140c
commit ab72035bb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/applications/virtualization/qemu/default.nix

@ -103,6 +103,12 @@ stdenv.mkDerivation rec {
sha256 = "sha256-gTRf9XENAfbFB3asYCXnw4OV4Af6VE1W56K2xpYDhgM="; sha256 = "sha256-gTRf9XENAfbFB3asYCXnw4OV4Af6VE1W56K2xpYDhgM=";
revert = true; revert = true;
}) })
# Workaround for upstream issue with nested virtualisation: https://gitlab.com/qemu-project/qemu/-/issues/1008
(fetchpatch {
url = "https://gitlab.com/qemu-project/qemu/-/commit/3e4546d5bd38a1e98d4bd2de48631abf0398a3a2.diff";
sha256 = "sha256-oC+bRjEHixv1QEFO9XAm4HHOwoiT+NkhknKGPydnZ5E=";
revert = true;
})
# make nixos tests that boot from USB more stable # make nixos tests that boot from USB more stable
# https://lists.nongnu.org/archive/html/qemu-devel/2022-05/msg01484.html # https://lists.nongnu.org/archive/html/qemu-devel/2022-05/msg01484.html
(fetchpatch { (fetchpatch {

Loading…
Cancel
Save