Booting and running Mac OS X High Sierra with QEMU+KVM on Windows 10...

Hello to everyone,I'm trying to virtualize mac os X High Sierra using the QEMU+KVM version for Windows 10 x64 bit and I've almost there. I've followed this tutorial :

https://github.com/kholia/OSX-KVM/tree/master/HighSierra

and I've used this QEMU version :

C:\>c:\programmi\qemu\qemu-system-x86_64 --version

QEMU emulator version 3.0.92 (v3.1.0-rc2-11731-ge7dfdcb196-dirty)

Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers

I've also modified the file "boot-macOS-HS.sh" like this :

rem MY_OPTIONS="+aes,+xsave,+avx,+xsaveopt,avx2,+smep"

C:\Programmi\qemu\qemu-system-x86_64 -m 3072 -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"+xsave" -machine pc-q35-2.9 -smp 4,cores=2 -usb -device usb-kbd -device usb-tablet -drive if=pflash,format=raw,readonly,file=C:\Programmi\qemu\OVMF_CODE.fd -drive if=pflash,format=raw,file=C:\Programmi\qemu\OVMF_VARS-1024x768.fd -smbios type=2 -device ich9-intel-hda -device hda-duplex -device ide-drive,bus=ide.2,drive=Clover -drive id=Clover,if=none,snapshot=on,format=qcow2,file=C:\Programmi\qemu\Clover.qcow2 -device ide-drive,bus=ide.1,drive=MacHDD -drive id=MacHDD,if=none,file=e:\mac_hdd.img,format=qcow2 -device ide-drive,bus=ide.0,drive=MacDVD -drive id=MacDVD,if=none,snapshot=on,media=cdrom,file=e:\HighSierra.iso

I've removed the values inside the MY_OPTIONS var because with them,it won't boot.

I've also removed this line :

-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

because it produced this error :

C:\Programmi\qemu\qemu-system-x86_64: Device 'tap' could not be initialized

I don't know how to fix it. NB : The main OS,Windows 10 is connected to internet using the ETH / LAN interface (no wi-fi interface).

Even if it produces these warnings :

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000007H:EDX.invtsc [bit 8]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000007H:EDX.invtsc [bit 8]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000007H:EDX.invtsc [bit 8]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]

C:\Programmi\qemu\qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000007H:EDX.invtsc [bit 8]

Mac OS X High Sierra is able to boot and it almost works,but it goes very very slow. This is the other problem that should be fixed. Can someone give me some suggestions ? thanks.

Author: @lomariozio