Skip to content

Commit 2f0f1be

Browse files
committed
chore: temporarily disable KVM to test sw emulation performance
1 parent bdbd500 commit 2f0f1be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qemu-arm64-nix.pkr.hcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ source "qemu" "cloudimg" {
8585
["-drive", "if=pflash,format=raw,id=ovmf_code,readonly=on,file=/usr/share/AAVMF/AAVMF_CODE.fd"],
8686
["-drive", "if=pflash,format=raw,id=ovmf_vars,file=AAVMF_VARS.fd"],
8787
["-drive", "file=output-cloudimg/packer-cloudimg,format=qcow2"],
88-
["-drive", "file=seeds-cloudimg.iso,format=raw"],
89-
["--enable-kvm"]
88+
["-drive", "file=seeds-cloudimg.iso,format=raw"]
89+
# ["--enable-kvm"]
9090
]
9191
shutdown_command = "sudo -S shutdown -P now"
9292
ssh_handshake_attempts = 500
@@ -95,7 +95,7 @@ source "qemu" "cloudimg" {
9595
ssh_username = "ubuntu"
9696
ssh_wait_timeout = "1h"
9797
use_backing_file = false
98-
accelerator = "kvm"
98+
# accelerator = "kvm"
9999
}
100100

101101
build {

0 commit comments

Comments
 (0)