Skip to content

Commit

Permalink
Use host CPU qemu parameter to prevent CPU Apic ID - 00000000 error (#…
Browse files Browse the repository at this point in the history
…263)

Use host CPU qemu parameter to prevent CPU Apic ID - 00000000 error.

fixes #252
  • Loading branch information
alanbach authored Sep 6, 2024
1 parent 9046979 commit 2cad568
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions windows/windows.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 2cad568

Please sign in to comment.