From 2cad5680cf7116097c605d92b36f116d625b1bdd Mon Sep 17 00:00:00 2001 From: Alan Baghumian Date: Fri, 6 Sep 2024 11:35:49 -0700 Subject: [PATCH] Use host CPU qemu parameter to prevent CPU Apic ID - 00000000 error (#263) Use host CPU qemu parameter to prevent CPU Apic ID - 00000000 error. fixes #252 --- windows/windows.pkr.hcl | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/windows.pkr.hcl b/windows/windows.pkr.hcl index 4241e06..fa4ee00 100644 --- a/windows/windows.pkr.hcl +++ b/windows/windows.pkr.hcl @@ -49,6 +49,7 @@ source "qemu" "windows_builder" { cpus = "2" net_device = "e1000" qemuargs = [ + ["-cpu", "host"], ["-serial", "stdio"], ["-drive", "if=pflash,format=raw,id=ovmf_code,readonly=on,file=/usr/share/OVMF/OVMF_CODE${var.ovmf_suffix}.fd"], ["-drive", "if=pflash,format=raw,id=ovmf_vars,file=OVMF_VARS.fd"],