Skip to content

Commit

Permalink
Use host CPU qemu parameter to prevent
Browse files Browse the repository at this point in the history
CPU Apic ID - 00000000 error.

fixes #252
  • Loading branch information
alanbach committed Sep 6, 2024
1 parent 9046979 commit ed5d32f
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 ed5d32f

Please sign in to comment.