August 23, 20205 yr Hi all, First of all I'm very new to unRaid. I'm having problems getting a high sierra VM to run properly. I've followed the steps in Spaceinvader One's excellent video to the letter. Everything works except after adding more CPU's and RAM to the VM (and pasting the necessary XML etc.) the VM boots but with the apple logo off to the top left and then to an indecipherable screen. There is definitely a graphics problem. If I paste the XLM code back before I changed the CPU and RAM, it works fine (but very slow). Here is the current XML: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>MacinaboxHighSierra</name> <uuid>7fd4ef4a-3eb1-49c4-9a0c-b291a3fce467</uuid> <description>MacOS High Sierra</description> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="default.png" os="HighSierra"/> </metadata> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>4194304</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>28</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='32'/> <vcpupin vcpu='2' cpuset='1'/> <vcpupin vcpu='3' cpuset='33'/> <vcpupin vcpu='4' cpuset='2'/> <vcpupin vcpu='5' cpuset='34'/> <vcpupin vcpu='6' cpuset='3'/> <vcpupin vcpu='7' cpuset='35'/> <vcpupin vcpu='8' cpuset='4'/> <vcpupin vcpu='9' cpuset='36'/> <vcpupin vcpu='10' cpuset='5'/> <vcpupin vcpu='11' cpuset='37'/> <vcpupin vcpu='12' cpuset='6'/> <vcpupin vcpu='13' cpuset='38'/> <vcpupin vcpu='14' cpuset='7'/> <vcpupin vcpu='15' cpuset='39'/> <vcpupin vcpu='16' cpuset='8'/> <vcpupin vcpu='17' cpuset='40'/> <vcpupin vcpu='18' cpuset='9'/> <vcpupin vcpu='19' cpuset='41'/> <vcpupin vcpu='20' cpuset='10'/> <vcpupin vcpu='21' cpuset='42'/> <vcpupin vcpu='22' cpuset='11'/> <vcpupin vcpu='23' cpuset='43'/> <vcpupin vcpu='24' cpuset='12'/> <vcpupin vcpu='25' cpuset='44'/> <vcpupin vcpu='26' cpuset='13'/> <vcpupin vcpu='27' cpuset='45'/> </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/7fd4ef4a-3eb1-49c4-9a0c-b291a3fce467_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <cache mode='passthrough'/> </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='qcow2' cache='writeback'/> <source file='/mnt/user/domains/MacinaboxHighSierra/Clover.qcow2'/> <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/MacinaboxHighSierra/HighSierra-install.img'/> <target dev='hdd' bus='sata'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/MacinaboxHighSierra/macos_disk.img'/> <target dev='hde' bus='sata'/> <address type='drive' controller='0' bus='0' target='0' unit='4'/> </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='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='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:3c:e4:d4'/> <source bridge='br0'/> <model type='vmxnet3'/> <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='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='de'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='qxl' ram='4096' vram='4096' vgamem='4096' 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-kbd,bus=usb-bus.0'/> <qemu:arg value='-device'/> <qemu:arg value='************************'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/> </qemu:commandline> </domain> Any help would be fantastic as I've been at this for hours... Many thanks! Here is a screen shot of how the VM currently boots: Edited August 23, 20205 yr by Toby864
August 23, 20205 yr If you're using files from Macinabox your <os></os> section is wrong. Edited August 23, 20205 yr by ghost82
August 23, 20205 yr Author 28 minutes ago, ghost82 said: If you're using files from Macinabox your <os></os> section is wrong. Awesome! I pasted in: <type arch='x86_64' machine='pc-q35-3.1'>hvm</type> <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxHighSierra/ovmf/OVMF_CODE.fd</loader> <nvram>/mnt/user/domains/MacinaboxHighSierra/ovmf/OVMF_VARS.fd</nvram> </os> And now it boots! But despite selecting the CPU and RAM configuration, I still only get the following showing up in the VM: What am I missing? Many thanks!
August 23, 20205 yr 7 minutes ago, Toby864 said: But despite selecting the CPU and RAM configuration Ram is right acoording to your xml. You are seeing the 'Intel Core Solo' because you are using custom arg -cpu Penryn. Intel cpus can be set to host-passthrough, but you may have issues with the bootloader if you are not much expert in fixing things. Despite the 'intel core solo' your vm should use all the assigned cores, it should be only a cosmetic thing. Graphics is only 7 MB because there's no gpu passthrough. Edited August 23, 20205 yr by ghost82
August 23, 20205 yr Author 10 minutes ago, ghost82 said: Ram is right acoording to your xml. You are seeing the 'Intel Core Solo' because you are using custom arg -cpu Penryn. Intel cpus can be set to host-passthrough, but you may have issues with the bootloader if you are not much expert in fixing things. Despite the 'intel core solo' your vm should use all the assigned cores, it should be only a cosmetic thing. Awesome! It's now showing up with the correct Ram Too, thanks a lot for your help guys!
Archived
This topic is now archived and is closed to further replies.