From 468b9b73db3c9ea835635cb47dae38de271274fa Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 9 Nov 2025 07:40:34 -0500 Subject: [PATCH] xtask: use `-cpu host` on x86 We have started to see errors in CI: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID[eax=80000001h].ECX.svm [bit 2] The internet says this is the remedy. --- xtask/src/run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/run.rs b/xtask/src/run.rs index efa79b54..190d0cab 100644 --- a/xtask/src/run.rs +++ b/xtask/src/run.rs @@ -442,7 +442,7 @@ pub(crate) fn run(opts: Options) -> Result<()> { let (guest_arch, machine, cpu, console) = match guest_arch { "ARM64" => ("aarch64", Some("virt"), Some("max"), "ttyAMA0"), - "x86" => ("x86_64", None, None, "ttyS0"), + "x86" => ("x86_64", None, Some("host"), "ttyS0"), guest_arch => (guest_arch, None, None, "ttyS0"), };