non working ovmf

mine
Chakib Benziane 6 years ago
parent 5eabea30b7
commit 031b8dbba4

@ -8,18 +8,22 @@
# NOTE: Comment out the "MY_OPTIONS" line in case you are having booting problems!
##################################################################################
MY_OPTIONS="+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+xsaves,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe"
CPU_OPTS="+aes,+xsave,+avx,+xsaveopt,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe"
qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS\
OVMF_VARS_PATH=/tmp/ovmf_osx_vars.bin
cp ./ovmf-local/ovmf_vars_x64.bin $OVMF_VARS_PATH
qemu-system-x86_64 -enable-kvm -m 8192 -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$CPU_OPTS\
-machine pc-q35-2.9 \
-smp 4,cores=2 \
-usb -device usb-kbd -device usb-tablet \
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \
-drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \
-drive if=pflash,format=raw,file=OVMF_VARS.fd \
-drive if=pflash,format=raw,readonly,file=ovmf-local/ovmf_code_x64.bin \
-drive if=pflash,format=raw,file=$OVMF_VARS_PATH \
-smbios type=2 \
-device ich9-intel-hda -device hda-duplex \
-device ide-drive,bus=ide.2,drive=MacHDD \
-drive id=MacHDD,if=none,file=./mac_hdd.img \
-drive id=MacHDD,if=none,file=/fastData/tmp/osx_hs.img \
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \
-monitor stdio

Loading…
Cancel
Save