Skip to content

Commit 49ad51e

Browse files
committed
chore: specify number of CPU cores
1 parent 2f0f1be commit 49ad51e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qemu-arm64-nix.pkr.hcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ source "qemu" "cloudimg" {
8181
qemuargs = [
8282
["-machine", "virt"],
8383
["-cpu", "host"],
84+
["-smp", "cores=8,threads=1"],
8485
["-device", "virtio-gpu-pci"],
8586
["-drive", "if=pflash,format=raw,id=ovmf_code,readonly=on,file=/usr/share/AAVMF/AAVMF_CODE.fd"],
8687
["-drive", "if=pflash,format=raw,id=ovmf_vars,file=AAVMF_VARS.fd"],

0 commit comments

Comments
 (0)