1
0
Fork 0
mirror of https://github.com/foxlet/macOS-Simple-KVM.git synced 2024-11-23 11:39:42 +01:00

Add args array

This commit is contained in:
Rony Lee 2022-07-24 20:35:28 +08:00
parent 527588d5a2
commit 7f65402ef3

View file

@ -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[@]}"