Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OSX KVM woes

Featured Replies

I cannot get the XML add to do anything. I hit save and nothing happens.  I have followed the guide at the URL listed earlier on. Any ideas?  Running unRAID 6b14b. 

 

Kryspy

 

Do you have debug enabled in the plugin? That "might" help figure out what's going on. If not, I would just build a generic stock xml from the plugin and then start slowly making it look like the one in the guide. Then you might find out which option is causing the xml not to save...

  • Author

Any chance you could post your XML?  I can just drop it in the domains folder and see if it flies. I'll amend it to my directory structure. Might just be a formatting problem at my end.

 

Kryspy

Here you go:

 

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>OSX-Yosemite-10.10</name>
  <uuid>0ba39646-7ba1-4d41-9602-f1969a2fc26d</uuid>
  <metadata>
    <type>None</type>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <kernel>/mnt/vmdisk/vm_images/extra/chameleon_svn2510_boot</kernel>
    <boot dev='cdrom'/>
    <bootmenu enable='yes'/>
  </os>
  <features>
    <acpi/>
  </features>
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>core2duo</model>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/vmdisk/vm_images/default/Yosemite.qcow2'/>
      <target dev='hda' bus='ide'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </controller>
    <controller type='ide' index='0'/>
    <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='dmi-to-pci-bridge'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:90:90:96'/>
      <source bridge='in0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vga' vram='16384' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='none' model='none'/>
  <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-mouse'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='YOUR-OWN-KEY'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
  </qemu:commandline>
</domain>

  • Author

Same error. I may have to nuke my flash disk and start from scratch to see whats up.

 

Kryspy

Same error. I may have to nuke my flash disk and start from scratch to see whats up.

 

Kryspy

 

Do this:

 

1)  Use notepad++ or another program to create your XML and save it to your server as a .xml file.

2)  Login via ssh or telnet to your server and navigate to the folder containing the XML file

3)  Type the following command:

 

virsh create your.xml

 

Replace "your" with the name you gave the file.

 

You should get an output message with an error.  Please reply here with that message.

  • Author

Ok, this is a wierd error:

 

error: Failed to create domain from OSX-Yosemite-10.10.xml
error: internal error: unexpected domain type kvm, expecting xen 

 

I have attached my xml file as well.

 

Kryspy

 

OSX-Yosemite-10.10.xml.txt

  • Author

Umm....looks like I had my unRAID set to auto boot with XEN.  With a default boot without XEN it will add the XML but not start.

 

Error now reads:

 

error: Failed to create domain from OSX-Yosemite-10.10.xml
error: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules./code]

Kryspy

Umm....looks like I had my unRAID set to auto boot with XEN.  With a default boot without XEN it will add the XML but not start.

 

Error now reads:

 

error: Failed to create domain from OSX-Yosemite-10.10.xml
error: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules./code]

Kryspy

 

::)

 

Is that the appropriate emoticon response ;-)

  • Author

Indeed. How did everyone extract there key on a Mac?

 

Kryspy

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.