Kryspy Posted March 15, 2015 Share Posted March 15, 2015 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 Quote Link to comment
archedraft Posted March 15, 2015 Share Posted March 15, 2015 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... Quote Link to comment
Kryspy Posted March 15, 2015 Author Share Posted March 15, 2015 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 Quote Link to comment
archedraft Posted March 15, 2015 Share Posted March 15, 2015 Sure, I'll try and remember to post it later tonight. Quote Link to comment
archedraft Posted March 16, 2015 Share Posted March 16, 2015 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> Quote Link to comment
Kryspy Posted March 16, 2015 Author Share Posted March 16, 2015 Same error. I may have to nuke my flash disk and start from scratch to see whats up. Kryspy Quote Link to comment
jonp Posted March 16, 2015 Share Posted March 16, 2015 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. Quote Link to comment
Kryspy Posted March 16, 2015 Author Share Posted March 16, 2015 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 Quote Link to comment
Kryspy Posted March 17, 2015 Author Share Posted March 17, 2015 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 Quote Link to comment
jonp Posted March 17, 2015 Share Posted March 17, 2015 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 ;-) Quote Link to comment
Kryspy Posted March 17, 2015 Author Share Posted March 17, 2015 Indeed. How did everyone extract there key on a Mac? Kryspy Quote Link to comment
Recommended Posts
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.