mirror of
https://github.com/foxlet/macOS-Simple-KVM.git
synced 2024-11-26 21:19:41 +01:00
[TOOLS] Clean up QEMU scripts.
This commit is contained in:
parent
8526d294c8
commit
1be6fff506
2 changed files with 3 additions and 1 deletions
3
basic.sh
3
basic.sh
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
OSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
|
||||||
VMDIR=$PWD
|
VMDIR=$PWD
|
||||||
OVMF=$VMDIR/firmware
|
OVMF=$VMDIR/firmware
|
||||||
#export QEMU_AUDIO_DRV=pa
|
#export QEMU_AUDIO_DRV=pa
|
||||||
|
@ -11,7 +12,7 @@ qemu-system-x86_64 \
|
||||||
-machine q35,accel=kvm \
|
-machine q35,accel=kvm \
|
||||||
-smp 4,cores=2 \
|
-smp 4,cores=2 \
|
||||||
-cpu Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc \
|
-cpu Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc \
|
||||||
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \
|
-device isa-applesmc,osk="$OSK" \
|
||||||
-smbios type=2 \
|
-smbios type=2 \
|
||||||
-drive if=pflash,format=raw,readonly,file=$OVMF/OVMF_CODE.fd \
|
-drive if=pflash,format=raw,readonly,file=$OVMF/OVMF_CODE.fd \
|
||||||
-drive if=pflash,format=raw,file=$OVMF/OVMF_VARS-1024x768.fd \
|
-drive if=pflash,format=raw,file=$OVMF/OVMF_VARS-1024x768.fd \
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# jumpstart.sh: Fetches BaseSystem and converts it to a viable format.
|
# jumpstart.sh: Fetches BaseSystem and converts it to a viable format.
|
||||||
|
# by Foxlet <foxlet@furcode.co>
|
||||||
|
|
||||||
TOOLS=$PWD/tools
|
TOOLS=$PWD/tools
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue