**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM


SpaceInvaderOne

1469 posts in this topic Last Reply

Recommended Posts

I haven't thought of an USB to audio adapter, which indeed may be the easiest solution. Did you have any driver issues or did it just work?

 

I also just stumbled over a thread that there is a work-around to passthrough my on-board audio. Is this recommended and any consequences? 

 (bottom of the linked thread)

Link to post
  • Replies 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Catalina Mojave and HighSierra - new video 28 october 2019       MOJAVE 10.14 . (Update 24 October 2018)         ______________________

Ok finished the guide. Was a bit rushed so sorry if its a bit lower quality than normal.    

Posted Images

getting crazy..

made additional attempts (4 of them .....!)  every time I delete everything , clean.

 

downloaded latest HighSierra from apple update.

created the USB started the VM.

Booooo  ,  no disks to load from in the clover loader.

 

followed some advice from web to get the latest  apfs.efi     driver.   no luck.   (dont know about HFSPlus.efi ...?)

 

dont see any disk entry .  no EFI no HD nothing.  the clover starts but cant continue to install. 

 

where should I dig ?

 

 

edit:  tried with some other instructions and config files... same result 

seams it has something to do with the unRaid server. dont know what.  reboot doesnt help obviously. 

 

Edited by dadarara
Link to post

If your making a install disk from 10.13.4 run this command on the install disk.

rm /Volumes/Install\ macOS\ High\ Sierra/.IAPhysicalMedia

The .IAPhysicalMedia was added to 10.13.4 and stops the bootloader from seeing the installer.

Sent from my SM-G955U using Tapatalk

Link to post

couldn't find where and how to run the command.

but downloaded the latest clover 4425 and it fixed the issues.   https://github.com/Dids/clover-builder/releases

now in the middle of installation....

 

update:   success!!  now everything works.

next step is to passthrough RX480 ATI GPU card.  should be supported natively. will see... 

 

update: success again.  the GPU is working out of the box. also the Bluetooth dongle USB.  need to buy extension card people where talking about in this forum.  I have supermicro x9 board  

Edited by dadarara
Link to post

Hi everyone,

Gridrunner videos convinced me to switch from Ubuntu Server to Unraid. I followed all his tutorial to setup my server and it was incredibly easy and well documented. This was logic for me to follow his tutorial to setup a High Sierra VM on my server.

Unfortunately, I am currently facing an issue that I couldn't solve with any of the fix proposed in the thread. I must be missing something!

 

When I boot on the freshly created VM, the progress bar won't go further than 5 or 7% and then the machine will reboot. I used several tweaks I could read on the forum and it's the best scenario I can have so far (ther worst scenario being the machine rebooting on apple's logo without showing the progress bar).

 

After several tweaks here and there here is the XML I have at the minute. I also tried to create a new install disk with no success.

Thanks for the help!

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>OSX</name>
  <uuid>1d2e866e-e08b-0f09-d351-e30bf9de8391</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='6'/>
    <vcpupin vcpu='1' cpuset='14'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-2.9'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/1d2e866e-e08b-0f09-d351-e30bf9de8391_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='custom' match='exact' check='partial'>
    <model fallback='allow'>core2duo</model>
    <vendor>Intel</vendor>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/isos/highsierra2.img'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Linux/vdisk2.img'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:e7:8b:6f'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='fr'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </memballoon>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=xxxxxxxxOSK_KEY_xxxxxxxxxxxxxxxxxxxxxx'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,vmware-cpuid-freq=on,'/>
  </qemu:commandline>
</domain>

 

Link to post
On 1/16/2018 at 8:25 PM, 1812 said:

 

just a follow up, i could't boot my gtx 1060 with 2 monitors attached. IIRC (from this morning) it showed the apple logo, progress bar, then everything went black (using hdmi and dvi) and if i also remember correctly, about 6 months ago on 10.12.x I had issues using displayport on a gtx 1060 (would only show black screen) but if you let it boot up on it own then plug it in, everything was fine. I read someone on a forum that it was an issue either with the driver or clover.

 

 

1812, would you be willing to try something out that I just found in a thread on tonymacx86?  A guy over there, jgalt184, was having trouble with multiple displays on an NVidia graphics card in his hackintosh and could not get it to boot.  He ended up adding NvidiaWeb=YES to the bootflag in the config.plist for Clover and says it started working.  I have to assume that a bare metal hackintosh is having the same problems that we are with a vm inside Unraid.  Unfortunately, I had given up on my dual display system and have been using my Mackbook Pro for my main Mac desktop again and reconfigure my Unraid desktop for now so I don't have a MacOS VM running at the moment to test on.

Link to post
52 minutes ago, ckoepf said:

1812, would you be willing to try something out that I just found in a thread on tonymacx86?  A guy over there, jgalt184, was having trouble with multiple displays on an NVidia graphics card in his hackintosh and could not get it to boot.  He ended up adding NvidiaWeb=YES to the bootflag in the config.plist for Clover and says it started working.  I have to assume that a bare metal hackintosh is having the same problems that we are with a vm inside Unraid.  Unfortunately, I had given up on my dual display system and have been using my Mackbook Pro for my main Mac desktop again and reconfigure my Unraid desktop for now so I don't have a MacOS VM running at the moment to test on.

 

My server rack with that particular setup is currently torn down and packed for moving. It will be about 2 months before I'll have it back up and running. I can try to do this at that point, if I can remember!

Link to post

Hello everyone, so i have followed all tutorials to the best of my ability, and i managed to get everything installed ect with not too much hassle using VNC. however, i go to pass through my GPU (GTX 1060 6GB) and all is still fine, it boots up, everything works in clover menu, it gets to login page of mac os and then i have no response from my passthrough mouse and keyboard? hopefully im just missing something, but any help is appreciated!

 

Just to clarify, everything is functional, keyboard works during clover menu, but not in mac os itself.

 

If any XMLs are required or further details regarding my system ect, feel free to ask. Thankyou in advance.

Link to post
On 20/03/2018 at 8:21 PM, 1812 said:

 

it should also work if you don't declare a topology (and be faster) since osx won't kneecap one of the hypertheaded pairs.

 

I have tried with a topology and without and still find things are a bit sluggish. I wanted to pass 8 physical cores (16 HT) to the VM from a total of 14 that I have, leaving the remaining ones to unRAID. Just wondering if there is something else I can try to make things snappier?

 

I am passing through a usb3 PCI card as well as the recommended wifi/BT card and they are all working perfectly with handoff etc. Also passing through a GTX950 which is working fine as well with nvidia drivers. The VM itself is running off a Samsung NVMe drive so I would have thought it should all run nicely. It just seems sluggish in everything takes a half second to respond to clicks or load web pages etc.

 

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MWiMac</name>
  <uuid>678ff6cb-bde5-e84b-e3ef-9ce17eb47a53</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>25165824</memory>
  <currentMemory unit='KiB'>25165824</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>16</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='15'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='17'/>
    <vcpupin vcpu='4' cpuset='5'/>
    <vcpupin vcpu='5' cpuset='19'/>
    <vcpupin vcpu='6' cpuset='7'/>
    <vcpupin vcpu='7' cpuset='21'/>
    <vcpupin vcpu='8' cpuset='9'/>
    <vcpupin vcpu='9' cpuset='23'/>
    <vcpupin vcpu='10' cpuset='11'/>
    <vcpupin vcpu='11' cpuset='25'/>
    <vcpupin vcpu='12' cpuset='12'/>
    <vcpupin vcpu='13' cpuset='26'/>
    <vcpupin vcpu='14' cpuset='13'/>
    <vcpupin vcpu='15' cpuset='27'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-2.11'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/678ff6cb-bde5-e84b-e3ef-9ce17eb47a53_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='8' cores='1' threads='2'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/disks/VMNVM/MWiMac/vdisk2.img'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0xa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0xb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0xc'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0xd'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0xe'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
    </controller>
    <controller type='pci' index='8' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='8' port='0xf'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:64:9d:cd'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/disks/VMNVM/gtx950.rom'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
    </memballoon>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,vmware-cpuid-freq=on,'/>
  </qemu:commandline>
</domain>

 

Link to post
16 minutes ago, planetwilson said:

I have tried with a topology and without and still find things are a bit sluggish. I wanted to pass 8 physical cores (16 HT) to the VM from a total of 14 that I have, leaving the remaining ones to unRAID. Just wondering if there is something else I can try to make things snappier?

 

I am passing through a usb3 PCI card as well as the recommended wifi/BT card and they are all working perfectly with handoff etc. Also passing through a GTX950 which is working fine as well with nvidia drivers. The VM itself is running off a Samsung NVMe drive so I would have thought it should all run nicely. It just seems sluggish in everything takes a half second to respond to clicks or load web pages etc.

 

 

the xml you posted shows topology defined and shows 8 sockets with 2 threads.... 

 

you can try adding an emulator pin on cpu 0, but with 16 cpu's, I don't think it'll make that much of a difference.

 

What else is running off the NVME drive? downloaders/dockers? Something is bogging it down and I don't believe it is cpu related since you're throwing 16 threads at it (at the moment of typing,  I'm running 2 osx vm's on a W3520, with each vm on it's own ssd and only 4-6 gb of ram, using gtx 710's, so way less power but runs smooth)

Link to post
On 29/01/2018 at 3:46 PM, gridrunner said:

 

How I have mine set up is -- 

I have a powered usb 3.0 hub which has all of my devices keyboard mouse usb drives bluetooth etc. This then connects to a 4 port USB 3 switch which connects to 4 different computers (well 3 really as 2 of them are the server)

1 connects to the unRAID servers main 'unpassed through' usb port

1 connects to the passed through usb card for vms (osx etc)

1 connects to my other server

1 connects to my laptop

 

Everything works through the hub for all devices but again a powered hub.

 

 

 

I am using this card https://www.amazon.co.uk/gp/product/B01MDLG51U/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

 

The NVMe drive has nothing else running off it, dockers are all on the cache drive which is a normal HDD.

 

I have also just now tried emulator pinning to first pair and assigning the last 8 pairs to the VM and it does seem to have improved things. Still not amazing though considering the resources it has. I'll do a little more digging....

 

 

Link to post
  • 2 weeks later...

What am I missing? I cannot get High Sierra to install on my unRAID system.

 

It's a bit of a strange tale. I followed GridRunner's video tutorial and created a bootable USB (Which I know works as it appears on an existing clover installation and boots to the select language screen if selected.)

 

A couple of times I have been able to get the VM to boot and start the install process. I erased the secondary drive and selected it for the install. The VM reboots and I select this disc to continue the installation. It then fails with about 15 minutes remaining, stating I cannot install high Sierra on the Mac. Selecting Install from this prompt rolls back fine, but the installation will not get past this point.

 

I have deleted the VM and virtual drives and started again from scratch - recreating the USB boot using the latest version of Clover and copying the config.plist recommended by GridRunner to the efi/clover partition. Now, when I attempt to start the VM, all I see is the Apple logo with no progress bar. (Again this will boot from an existing Clover install)

 

I've tried adding the -v (verbose) flag to clover options but the VM just hangs if I try to add the flag and needs to be force-stopped.

 

Can anyone give me some advice or spot what I've missed? The USB is created from an existing Hackintosh system, rather than a genuine MAC, but I've successfully installed several non-virtualized systems this way.

 

XML from the initial VM

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacOS</name>
  <uuid>85ce37f6-415c-1852-30cc-aba9597a13e6</uuid>
  <description>High Sierra</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>6</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='5'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='6'/>
    <vcpupin vcpu='4' cpuset='3'/>
    <vcpupin vcpu='5' cpuset='7'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-2.9'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/85ce37f6-415c-1852-30cc-aba9597a13e6_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='3' threads='2'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/disks/WDC_WD1002FAEX-00Y9A0_WD-WCAW34505584/highsierra.img'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacOS/vdisk2.img'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:95:b6:95'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-gb'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </memballoon>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,vmware-cpuid-freq=on,'/>
  </qemu:commandline>
</domain>

 

Link to post
21 minutes ago, david279 said:

I bet it's the 6 cores passed thru. Try 2,4 or 8 cores. Mac like core counts that mimic real CPU cooler counts.

Sent from my SM-G955U using Tapatalk
 

 

That's not 100% true. If you remove the topology from the xml, you can set any number between 1-64. I'm typing this on a 3 core Mac vm right now.

Link to post
On 14/04/2018 at 12:46 PM, planetwilson said:

 

I am using this card https://www.amazon.co.uk/gp/product/B01MDLG51U/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

 

The NVMe drive has nothing else running off it, dockers are all on the cache drive which is a normal HDD.

 

I have also just now tried emulator pinning to first pair and assigning the last 8 pairs to the VM and it does seem to have improved things. Still not amazing though considering the resources it has. I'll do a little more digging....

 

 

 

So in the end I have upgraded from the GTX 950 to a Sapphire Nitro+ RX480 8GB. The whole thing is now running much better.

Link to post
52 minutes ago, 1812 said:

was the sapphire plug and play?

 

yes it was, no rom dumps were needed. I don't have any onboard graphics, this is the only card in the system and working on OSX and Windows perfectly. Well actually there is no HDMI sound but I don't think that is this card as my previous GTX950 started doing that recently and I've read a lot of people saying the same thing. I use some USB based external speakers so not an issue for me until it gets fixed.

Link to post
On 4/27/2018 at 1:09 PM, 1812 said:

was the sapphire plug and play?

I can't speak for the 480, but I did finally breakdown and buy a Radeon RX580.  Plug 'n Play, no problems whatsoever.  Boots with 2 monitors connected, can resize either or both with no flicker or problems.  No blanking at any time.  I should have done this from the start and saved myself all the futzing around for the last 4 months, but I had 2 extra GTX 960's and thought I could get them to work.

 

 

For the record, I'm also running an iMac Pro 1,1 SMBIOS.  My System is running very very smooth.

 

I added another little item to help performance of High Sierra and Win10 too.  I picked up a Dell Perc H310, but left it with the default firmware on it.  I'm running 2 separate Raid0 arrays with SSDs.  1 is passed to High Sierra and 1 is passed to Win10.  Man they both fly like that. I always used to run Raid0 on bare metal machines for the extra performance with SSDs and then use a decent backup plan.  The Raid card allows me to do that with my 2 vms and then I use the normal, mechanical drives for the unraid shares and the 2 onboard M.2 drives for cache.  I'm feeling pretty good about this build now.

Link to post

Well mine seems okay again now. According to Apple’s support doc they support 480s just fine.

So the SMBIOS I had assumed had to be the iMac one from gridrunners video for some reason. You can just choose what you want? What advantages are there to that?


Sent from my iPhone using Tapatalk

Link to post

No, it's not the SMBIOS in gridrunners video.  Isn't that a standard, iMac 4,1 or something?  4,1 is old, maybe it was a later one.  Don't remember.  The only advantage that I know of would be support for new devices and CPUs.  I haven't tweaked my CPU settings yet, but this install started out as a bare metal install on the same hardware, following a howto on InsanelyMac.  My motherboard has an x299 chipset and I have an i9-7800x CPU.  For the bare metal hackintosh install to work correctly and be able to correctly identify the CPU and also handle CPU turbo and clock settings from within High Sierra, there needed to be specific kexts and the iMac Pro SMBIOS.

From that install, I only added the dsdt for QEMU that gridrunner supplies to Clover.  Everything else stayed the same as my bare metal install.

 

I'm glad to hear Apple supports the 480 too.  Have you tried the voodoo kext to see if you can get hdmi audio working if you wanted it?  I know it showed 6 audio outputs for this 580 card.

Edited by ckoepf
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.