diff --git a/basic.sh b/basic.sh index add14b5..6f45e7b 100755 --- a/basic.sh +++ b/basic.sh @@ -6,7 +6,7 @@ OVMF=$VMDIR/firmware #export QEMU_AUDIO_DRV=pa #QEMU_AUDIO_DRV=pa -qemu-system-x86_64 \ +args=( -enable-kvm \ -m 2G \ -machine q35,accel=kvm \ @@ -26,3 +26,6 @@ qemu-system-x86_64 \ -device ide-hd,bus=sata.2,drive=ESP \ -drive id=InstallMedia,format=raw,if=none,file=BaseSystem.img \ -device ide-hd,bus=sata.3,drive=InstallMedia \ +) + +qemu-system-x86_64 "${args[@]}"