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:
parent
527588d5a2
commit
7f65402ef3
1 changed files with 4 additions and 1 deletions
5
basic.sh
5
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[@]}"
|
||||
|
|
Loading…
Reference in a new issue