Add qemu_accelerator option

This commit is contained in:
Greg Hellings
2022-05-27 09:07:08 -05:00
parent 89350b5a54
commit 6b19a145f7
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ source "qemu" "x86_64" {
boot_command = var.boot_command
http_directory = "http"
ssh_handshake_attempts = var.ssh_handshake_attempts
accelerator = "kvm"
accelerator = var.qemu_accelerator
cpus = 2
memory = 2048
qemuargs = [["-serial", "stdio"]]