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


SpaceInvaderOne

Recommended Posts

1 hour ago, blaine07 said:

 


So you remember having to enable and disable anything within Clover at all?

 

 

I created mine probably a little different than what is in the video (as I got impatient when Mojave was first released.) I left the steps here but they were based on the high Sierra install video. Everything else was essentially the same with no special modifications.

  • Like 1
Link to comment
 
I created mine probably a little different than what is in the video (as I got impatient when Mojave was first released.) I left the steps here but they were based on the high Sierra install video. Everything else was essentially the same with no special modifications.


Guess this weekend I’ll try another from scratch. Because no matter where I have vdisk it won’t boot with GT730 attached to it; on card no output on DVI, VGA or HDMI
Link to comment
 
I created mine probably a little different than what is in the video (as I got impatient when Mojave was first released.) I left the steps here but they were based on the high Sierra install video. Everything else was essentially the same with no special modifications.

Thanks for TIP on just copying IMG files and making duplicates to test with, if nothing more at moment that was VERY helpful thing to learn from you!! Moved my WIN10 to Unassigned drive too
Link to comment

Been jacking with this last two days, tried everything I can come up with and moment I set it to 730 for video and sound and post my cpu XML stuff and vmxnet3 the Network adapter settings it won’t boot. Have tried plugging in monitor etc. No idea what’s going but it has me flustered beyond belief.

Link to comment
42 minutes ago, blaine07 said:

Been jacking with this last two days, tried everything I can come up with and moment I set it to 730 for video and sound and post my cpu XML stuff and vmxnet3 the Network adapter settings it won’t boot. Have tried plugging in monitor etc. No idea what’s going but it has me flustered beyond belief.

I'd start over at the beginning as you may have borked it.

Link to comment
18 minutes ago, 1812 said:

are you removing the vnc bit from the xml?

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='31' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>High Sierra - UD</name>
  <uuid>f76f620f-b8da-6854-1d38-e8de86308de5</uuid>
  <description>High Sierra - Unassigned Device</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'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='5'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='7'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.0'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/f76f620f-b8da-6854-1d38-e8de86308de5_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='2' 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/WD1003FBYX-88_LEN_WD-WCAW36ZV79UV/HIGHSIERRAVM/vdisk3.img'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <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'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <alias name='pci.1'/>
      <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'/>
      <alias name='pci.2'/>
      <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'/>
      <alias name='pci.3'/>
      <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'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x8'/>
      <alias name='pci.5'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0x9'/>
      <alias name='pci.6'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='7' model='pcie-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <alias name='pci.7'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:f4:56:e2'/>
      <source bridge='br0'/>
      <target dev='vnet1'/>
      <model type='vmxnet3'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-31-High Sierra - UD/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <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='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
  <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,oskXXXX'/>
    <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 comment
37 minutes ago, blaine07 said:


Is changing from VNV to GT730 not enough? Is more of the VNC code supposed to be out than what it automatically does? Is their some way you can share what exact VNC code shouldn’t be in XML Once I change to GT730?

 if you're "just changing" using the  GUI and not modifying the xml manually, that is probably your issue. It hasn't played real nice with osx vm's in the past. I only ever edit the xml.

 

 

Link to comment
30 minutes ago, blaine07 said:

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='31' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>High Sierra - UD</name>
  <uuid>f76f620f-b8da-6854-1d38-e8de86308de5</uuid>
  <description>High Sierra - Unassigned Device</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'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='5'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='7'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.0'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/f76f620f-b8da-6854-1d38-e8de86308de5_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='2' 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/WD1003FBYX-88_LEN_WD-WCAW36ZV79UV/HIGHSIERRAVM/vdisk3.img'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <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'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <alias name='pci.1'/>
      <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'/>
      <alias name='pci.2'/>
      <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'/>
      <alias name='pci.3'/>
      <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'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x8'/>
      <alias name='pci.5'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0x9'/>
      <alias name='pci.6'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='7' model='pcie-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <alias name='pci.7'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:f4:56:e2'/>
      <source bridge='br0'/>
      <target dev='vnet1'/>
      <model type='vmxnet3'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-31-High Sierra - UD/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <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='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
  <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,oskXXXX'/>
    <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>

you can compare to my working xml, I don't have time at the moment to go line by line for you, but you may find differences (excluding drive locations and uuid, nvram file name, Mac address, etc...)  don't worry about the added Qemu arguments in mine, they are for pcie definitions, as it was added for a patch in an RC. This xml also has 2 network "cards" for the e1000 and vmxnet 3 that I used for testing of different speeds. This xml comes from one of my 2 Mojave vm's, and this one is running a 730. topology was removed to maximize performance.

 

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Desk Mojave</name>
  <uuid>94j4a882-fbde-110e-131h-f4531884123e</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>5242880</memory>
  <currentMemory unit='KiB'>5242880</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>3</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='7'/>
    <vcpupin vcpu='2' cpuset='6'/>
    <emulatorpin cpuset='0'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/94j4a882-fbde-110e-131h-f4531884123e_VARS-pure-efi.fd</nvram>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'/>
  <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/cache/domains/Mojave2/vdisk.img'/>
      <target dev='hda' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </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='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0xa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='8' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='8' port='0xb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='9' model='dmi-to-pci-bridge'>
      <model name='i82801b11-bridge'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='10' model='pci-bridge'>
      <model name='pci-bridge'/>
      <target chassisNr='10'/>
      <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='88:58:00:cd:3d:c1'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0' multifunction='on'/>
    </interface>
    <interface type='bridge'>
      <mac address='53:24:00:8u:13:32'/>
      <source bridge='br0'/>
      <model type='vmxnet3'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
    </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'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x0f' slot='0x00' function='0x0'/>
      </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='0x0f' slot='0x00' function='0x1'/>
      </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='0x1f' 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='0x03' slot='0x00' function='0x0'/>
    </memballoon>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-global'/>
    <qemu:arg value='pcie-root-port.speed=8'/>
    <qemu:arg value='-global'/>
    <qemu:arg value='pcie-root-port.width=16'/>
    <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 comment
you can compare to my working xml, I don't have time at the moment to go line by line for you, but you may find differences (excluding drive locations and uuid, nvram file name, Mac address, etc...)  don't worry about the added Qemu arguments in mine, they are for pcie definitions, as it was added for a patch in an RC. This xml also has 2 network "cards" for the e1000 and vmxnet 3 that I used for testing of different speeds. This xml comes from one of my 2 Mojave vm's, and this one is running a 730. topology was removed to maximize performance.
 
 
xml version='1.0' encoding='UTF-8'?> type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>Desk Mojave94j4a882-fbde-110e-131h-f4531884123e xmlns="unraid" name="Linux" icon="linux.png" os="linux"/> unit='KiB'>5242880 unit='KiB'>5242880 placement='static'>3 vcpu='0' cpuset='1'/> vcpu='1' cpuset='7'/> vcpu='2' cpuset='6'/> cpuset='0'/> arch='x86_64' machine='pc-q35-3.1'>hvm readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd/etc/libvirt/qemu/nvram/94j4a882-fbde-110e-131h-f4531884123e_VARS-pure-efi.fd dev='hd'/> mode='host-passthrough' check='none'/> offset='utc'> name='rtc' tickpolicy='catchup'/> name='pit' tickpolicy='delay'/> name='hpet' present='no'/>destroyrestartrestart/usr/local/sbin/qemu type='file' device='disk'> name='qemu' type='raw' cache='writeback'/> file='/mnt/cache/domains/Mojave2/vdisk.img'/> dev='hda' bus='sata'/> type='drive' controller='0' bus='0' target='0' unit='0'/> type='usb' index='0' model='ich9-ehci1'> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> type='usb' index='0' model='ich9-uhci1'> startport='0'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> type='usb' index='0' model='ich9-uhci2'> startport='2'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> type='usb' index='0' model='ich9-uhci3'> startport='4'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> type='sata' index='0'> type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> type='pci' index='0' model='pcie-root'/> type='pci' index='1' model='pcie-root-port'> name='pcie-root-port'/> chassis='1' port='0x10'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> type='pci' index='2' model='pcie-root-port'> name='pcie-root-port'/> chassis='2' port='0x11'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> type='pci' index='3' model='pcie-root-port'> name='pcie-root-port'/> chassis='3' port='0x12'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> type='pci' index='4' model='pcie-root-port'> name='pcie-root-port'/> chassis='4' port='0x13'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> type='pci' index='5' model='pcie-root-port'> name='pcie-root-port'/> chassis='5' port='0x8'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> type='pci' index='6' model='pcie-root-port'> name='pcie-root-port'/> chassis='6' port='0x9'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> type='pci' index='7' model='pcie-root-port'> name='pcie-root-port'/> chassis='7' port='0xa'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> type='pci' index='8' model='pcie-root-port'> name='pcie-root-port'/> chassis='8' port='0xb'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> type='pci' index='9' model='dmi-to-pci-bridge'> name='i82801b11-bridge'/> type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> type='pci' index='10' model='pci-bridge'> name='pci-bridge'/> chassisNr='10'/> type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> type='virtio-serial' index='0'> type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> type='bridge'> address='88:58:00:cd:3d:c1'/> bridge='br0'/> type='e1000-82545em'/> type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0' multifunction='on'/> type='bridge'> address='53:24:00:8u:13:32'/> bridge='br0'/> type='vmxnet3'/> type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x1'/> type='pty'> type='isa-serial' port='0'> name='isa-serial'/> type='pty'> type='serial' port='0'/> type='unix'> type='virtio' name='org.qemu.guest_agent.0'/> type='virtio-serial' controller='0' bus='0' port='1'/> type='tablet' bus='usb'> type='usb' bus='0' port='1'/> type='mouse' bus='ps2'/> type='keyboard' bus='ps2'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x0f' slot='0x00' function='0x0'/> type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x0f' slot='0x00' function='0x1'/> type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x1f' slot='0x00' function='0x0'/> type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> model='virtio'> type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> value='-global'/> value='pcie-root-port.speed=8'/> value='-global'/> value='pcie-root-port.width=16'/> value='-usb'/> value='-device'/> value='usb-mouse,bus=usb-bus.0'/> value='-device'/> value='usb-kbd,bus=usb-bus.0'/> value='-smbios'/> value='type=2'/> value='-cpu'/> value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,vmware-cpuid-freq=on,'/>

 


Sir, do you know off hand what line(s) are/refer to graphics card?
Link to comment
12 minutes ago, blaine07 said:


Sir, do you know off hand what line(s) are/refer to graphics card?

This part below. First section is the video component, second is sound. Your address domain and pci domains will be different based on server configuration and card placement.

 

 

 

<hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0f' slot='0x00' function='0x0'/> </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='0x0f' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev>

 

 

W eything works until you change to the gpu, so do this: make a new vm per the methods in the video (if you have a good backup img file then just start at that part of the video l where you modify the xml. Once it boots into vnc, shut it down. 

 

Now, create a new vm, Linux or whatever. Remove the hard drive option so it doesn’t create a disk, only 1 core 255mb ram, whatever, it’s notngojng to be started. Select your gpu and it’s sound card. Click save but don’t start. 

 

Edit that vm, and when in the edit screen, toggle to xml. Scroll down near the bottom, find the host dev tags, will look like above. Copy all of that. 

 

Then go to your macOS vm, edit, and then toggle to edit xml. Scroll down to the bottom. Find the tag <memballon model =‘ virtio’> Tag. You want to paste the hostdev info you copied above/ just before that. 

 

Now, in the part you just pasted, look for the lines <address type =‘pci’....../> there will be one in each hostdev section. Delete those (they will auto generate correctly on near start.

 

you are now ready to save the xml and boot the vm. We’ll deal with vnc removal later, but this is how you can manually add the gpu with the correct xml generatedand not have unRaid screw up the custom edits required for macos. 

 

 

Link to comment
This part below. First section is the video component, second is sound. Your address domain and pci domains will be different based on server configuration and card placement.
 
 
 


 
 

 
 
W eything works until you change to the gpu, so do this: make a new vm per the methods in the video (if you have a good backup img file then just start at that part of the video l where you modify the xml. Once it boots into vnc, shut it down. 
 
Now, create a new vm, Linux or whatever. Remove the hard drive option so it doesn’t create a disk, only 1 core 255mb ram, whatever, it’s notngojng to be started. Select your gpu and it’s sound card. Click save but don’t start. 
 
InteEdit that vm, and when in the edit screen, toggle to xml. Scroll down near the bottom, find the host dev tags, will look like above. Copy all of that. 
 
Then go to your macOS vm, edit, and then toggle to edit xml. Scroll down to the bottom. Find the tag Tag. You want to paste the hostdev info you copied above/ just before that. 
 
Now, in the part you just pasted, look for the lines
there will be one in each hostdev section. Delete those (they will auto generate correctly on near start.
 
you are now ready to save the xml and boot the vm. We’ll deal with vnc removal later, but this is how you can manually add the gpu with the correct xml generatedand not have unRaid screw up the custom edits required for macos. 
 
 


Interesting; will have to give this a try later today. Been swamped with home projects lately
Link to comment
22 hours ago, 1812 said:

This part below. First section is the video component, second is sound. Your address domain and pci domains will be different based on server configuration and card placement.

 

 

 

<hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0f' slot='0x00' function='0x0'/> </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='0x0f' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev>

 

 

W eything works until you change to the gpu, so do this: make a new vm per the methods in the video (if you have a good backup img file then just start at that part of the video l where you modify the xml. Once it boots into vnc, shut it down. 

 

Now, create a new vm, Linux or whatever. Remove the hard drive option so it doesn’t create a disk, only 1 core 255mb ram, whatever, it’s notngojng to be started. Select your gpu and it’s sound card. Click save but don’t start. 

 

Edit that vm, and when in the edit screen, toggle to xml. Scroll down near the bottom, find the host dev tags, will look like above. Copy all of that. 

 

Then go to your macOS vm, edit, and then toggle to edit xml. Scroll down to the bottom. Find the tag <memballon model =‘ virtio’> Tag. You want to paste the hostdev info you copied above/ just before that. 

 

Now, in the part you just pasted, look for the lines <address type =‘pci’....../> there will be one in each hostdev section. Delete those (they will auto generate correctly on near start.

 

you are now ready to save the xml and boot the vm. We’ll deal with vnc removal later, but this is how you can manually add the gpu with the correct xml generatedand not have unRaid screw up the custom edits required for macos. 

 

 

Well, what I pasted is the same as what was in VM already for right above MEMBALOON part:

 

        <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
      </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='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>

 

Under VM Creation GPU is listed as 06:00:0 and Sound is listed as 06:00:1

 

At any rate, still no changes; not doing anything/booting 😞

 

EDIT: Once I pasted I took the "PCI" line out in entirely for both GPU/SOUND

Edited by blaine07
Link to comment
On 10/31/2018 at 1:03 PM, jasonwert said:

I'm on unraid 6.6.3. I'm working with High Sierra. Everything works fine for me untill I try to pass through the gpu. At this point when I start the VM the animated reload button takes maybe 30 seconds to finish before it goes green, inplying it is running, but it never appears to boot up fully. I can't ping it and it never pops up on Slashtop.

 

This is the second time I started over from scratch with the same result. Any help would be greatly appreciated!

 


<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>High Sierra</name>
  <uuid>9f6acb29-981d-054b-5e1b-82fbd83ee8b6</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="Apple_vintage_trans.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='20'/>
    <vcpupin vcpu='2' cpuset='9'/>
    <vcpupin vcpu='3' cpuset='21'/>
    <vcpupin vcpu='4' cpuset='10'/>
    <vcpupin vcpu='5' cpuset='22'/>
    <vcpupin vcpu='6' cpuset='11'/>
    <vcpupin vcpu='7' cpuset='23'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-3.0'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/9f6acb29-981d-054b-5e1b-82fbd83ee8b6_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' 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/cache/domains/High Sierra/vdisk3.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='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='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='7' model='pcie-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </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:86:d7:75'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x04' 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'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' 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='0x03' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x047d'/>
        <product id='0x1015'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x2222'/>
        <product id='0x0003'/>
      </source>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <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=deleted'/>
    <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>

 

Hello,

 

I wanted to follow up on this for anyone having similar issues. I reinstalled following this guide and never was able to get around it until I found a Nvidia GT720 from ebay for $20. I popped it in and it worked right away with no problems. I get the booting everything and it works great. I strongly recommend this route.

 

One issue I am having is that audio works great when pass through on the Nvidia card over the HDMI cable. But when I try to use a USB speaker the audio is really choppy. Has anyone else ran into this? Does anyone else know of a fix? I'm using the onboard USB ports. I also lose the keyboard and mouse from time to time and have to detach/reattach them from unRAID. I'm thinking it might be a Clover setting I'm missing.

 

All these things work fine in other VMs.

 

Thanks!

 

-Jason

Link to comment
Just now, jasonwert said:

Hello,

 

I wanted to follow up on this for anyone having similar issues. I reinstalled following this guide and never was able to get around it until I found a Nvidia GT720 from ebay for $20. I popped it in and it worked right away with no problems. I get the booting everything and it works great. I strongly recommend this route.

 

One issue I am having is that audio works great when pass through on the Nvidia card over the HDMI cable. But when I try to use a USB speaker the audio is really choppy. Has anyone else ran into this? Does anyone else know of a fix? I'm using the onboard USB ports. I also lose the keyboard and mouse from time to time and have to detach/reattach them from unRAID. I'm thinking it might be a Clover setting I'm missing.

 

All these things work fine in other VMs.

 

Thanks!

 

-Jason

OS X can be finicky with onboard. Additionally if you don’t have isolated cores, it can introduce audio issues.

Link to comment
Hello,
 
I wanted to follow up on this for anyone having similar issues. I reinstalled following this guide and never was able to get around it until I found a Nvidia GT720 from ebay for $20. I popped it in and it worked right away with no problems. I get the booting everything and it works great. I strongly recommend this route.
 
One issue I am having is that audio works great when pass through on the Nvidia card over the HDMI cable. But when I try to use a USB speaker the audio is really choppy. Has anyone else ran into this? Does anyone else know of a fix? I'm using the onboard USB ports. I also lose the keyboard and mouse from time to time and have to detach/reattach them from unRAID. I'm thinking it might be a Clover setting I'm missing.
 
All these things work fine in other VMs.
 
Thanks!
 
-Jason


Do you have a monitor hooked to it? Which port?
Link to comment
22 hours ago, jasonwert said:

Hello,

 

I wanted to follow up on this for anyone having similar issues. I reinstalled following this guide and never was able to get around it until I found a Nvidia GT720 from ebay for $20. I popped it in and it worked right away with no problems. I get the booting everything and it works great. I strongly recommend this route.

 

One issue I am having is that audio works great when pass through on the Nvidia card over the HDMI cable. But when I try to use a USB speaker the audio is really choppy. Has anyone else ran into this? Does anyone else know of a fix? I'm using the onboard USB ports. I also lose the keyboard and mouse from time to time and have to detach/reattach them from unRAID. I'm thinking it might be a Clover setting I'm missing.

 

All these things work fine in other VMs.

 

Thanks!

 

-Jason

22 hours ago, jasonwert said:

Hello,

 

I wanted to follow up on this for anyone having similar issues. I reinstalled following this guide and never was able to get around it until I found a Nvidia GT720 from ebay for $20. I popped it in and it worked right away with no problems. I get the booting everything and it works great. I strongly recommend this route.

 

One issue I am having is that audio works great when pass through on the Nvidia card over the HDMI cable. But when I try to use a USB speaker the audio is really choppy. Has anyone else ran into this? Does anyone else know of a fix? I'm using the onboard USB ports. I also lose the keyboard and mouse from time to time and have to detach/reattach them from unRAID. I'm thinking it might be a Clover setting I'm missing.

 

All these things work fine in other VMs.

 

Thanks!

 

-Jason

 

Just to update the update my choppy usb audio was fixed by passing through a usb 3.0 card to OSX following SpaceInvaderOne's video guide. now it is all good. No issues. I was even able to upgrade High Sierra to Mojave using the standard update method. Everything is working great. Thanks everyone for all the help and suggestions.

-Jason

Link to comment

Hello,

 

I would like to share my solution to getting an out of the box Bluetooth and wifi solution for the macOS vm. With bonus hot plug USB ports. (Also works for windows vm)

 

Using:

1) Broadcom BCM43602CS (wifi card from an MacBook) on a PCI-E x1 adaptor card with Bluetooth wires

2) ORICO 2 Port USB3.0 PCI-E Expansion Card (PME-4UI) [Fresco FL1100 controller & a 19 pin USB3.0 port]

3) USB3.0 19 pin female to USB2.0 9pin male adaptor

 

I put both cards in 2 PCI-E x1 slots, and connected the Bluetooth wires to the orico card 19 pin slot through the 19pin to 9pin adaptor. All recognised in unraid system devices. Then using vfio-pci.ids command and xml edits I passed the 2 cards to the macOS vm.

 

Now I have full wifi and Bluetooth functions on the vm, as well as 2 hot plug USB 3 ports available and working. With boot camp drivers, I am able to also get the wifi and Bluetooth working on a windows vm, as well as the USB ports.

 

As a side note, now my previously working ORICO 4 Port USB3.0 PCI-E Expansion Card (PME-4U) is now undetectedable by unraid, which now only sees the 2 port version. Now the 4 port card does not appear system devices (PCI Devices and IOMMU groups) and will not in see any usb devices in the 4 port card. Anyone has any ideas how to fix this?

Link to comment

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.