Skip to content

Commit a0b049b

Browse files
committed
Update qemuargs for x86
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
1 parent cd83656 commit a0b049b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/gha-runner-vm/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,10 +551,10 @@ func init() {
551551
552552
source "qemu" "img" {
553553
qemu_binary = var.architecture == "arm64" ? "/usr/bin/qemu-system-aarch64" : "/usr/bin/qemu-system-x86_64"
554-
qemuargs = var.architecture == "arm64" ? [["-machine", "virt"], ["-cpu", "host"], ["-accel", "kvm"]] : []
555554
efi_boot = var.architecture == "arm64" ? true : false
556555
efi_firmware_code = var.architecture == "arm64" ? "/usr/share/AAVMF/AAVMF_CODE.fd" : ""
557556
efi_firmware_vars = var.architecture == "arm64" ? "/usr/share/AAVMF/AAVMF_VARS.fd" : ""
557+
qemuargs = [["-machine", "virt"], ["-cpu", "host"], ["-accel", "kvm"]]
558558
vm_name = "image.raw"
559559
cd_files = ["./cloud-init/*"]
560560
cd_label = "cidata"

0 commit comments

Comments
 (0)