From cc857403b6d214f0aae03ff18d2124214a34532c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Tue, 7 May 2024 16:09:48 +0200 Subject: [PATCH] fix(microvm): explicitly disable ACPI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- README.md | 2 +- xtask/src/ci/qemu.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e28172d7..22bdf7fa 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ To use this VM type, PCI and ACPI support have to be disabled for your app (usin ```bash qemu-system-x86_64 ... \ - -M microvm,x-option-roms=off,pit=off,pic=off,rtc=on,auto-kernel-cmdline=off \ + -M microvm,x-option-roms=off,pit=off,pic=off,rtc=on,auto-kernel-cmdline=off,acpi=off \ -nodefaults -no-user-config \ -append "-freq 2800" ``` diff --git a/xtask/src/ci/qemu.rs b/xtask/src/ci/qemu.rs index dd68d92c..9d3fd02b 100644 --- a/xtask/src/ci/qemu.rs +++ b/xtask/src/ci/qemu.rs @@ -75,7 +75,8 @@ impl Qemu { let frequency = get_frequency(); vec![ "-M".to_string(), - "microvm,x-option-roms=off,pit=off,pic=off,rtc=on".to_string(), + "microvm,x-option-roms=off,pit=off,pic=off,rtc=on,auto-kernel-cmdline=off,acpi=off" + .to_string(), "-global".to_string(), "virtio-mmio.force-legacy=on".to_string(), "-nodefaults".to_string(),