Open alx-alexpark opened 2 years ago
Please use readonly=on instead qxl_send_events: spice-server bug: guest stopped, ignoring
Basic.sh
#!/bin/bash OSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VMDIR=$PWD OVMF=$VMDIR/firmware #export QEMU_AUDIO_DRV=pa #QEMU_AUDIO_DRV=pa qemu-system-x86_64 \ -enable-kvm \ -m 8G \ -machine q35,accel=kvm \ -smp cores=6,threads=6,sockets=1 \ -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="$OSK" \ -smbios type=2 \ -drive if=pflash,format=raw,readonly,file="$OVMF/OVMF_CODE.fd" \ -drive if=pflash,format=raw,file="$OVMF/OVMF_VARS-1024x768.fd" \ -vga qxl \ -device ich9-intel-hda -device hda-output \ -usb -device usb-kbd -device usb-mouse \ -netdev user,id=net0 \ -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \ -device ich9-ahci,id=sata \ -drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \ -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 \ -drive id=SystemDisk,if=none,file=macos.qcow2 \ -device ide-hd,bus=sata.4,drive=SystemDisk \
Somehow -smp 12 works but not when I specify cores. -smp 6, cores=2 works thou ??????????????????????????
-smp 12
-smp 6, cores=2
@alx-alexpark maybe there is insufficient resources on your machine. Just use -smp 12 or whatever works.
Basic.sh
Somehow
-smp 12
works but not when I specify cores.-smp 6, cores=2
works thou ??????????????????????????