March 20, 201511 yr At the top, change your <domain> tag to read as follows: <domain type='kvm' id='2' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> Next, go to the very end of your XML and add the following after the </devices> tag but before the </domain> tag: <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pci.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=01:00.1,bus=root.1,addr=00.1'/> </qemu:commandline> Adjust the "host=" part for the address for your device. The second device I listed of 01:00.1 is the audio function of the graphics card, so make sure you include that as well. Hi Jon. I made all the changes you suggested to my XML but I'm still getting an error message trying to start the domain. System log shows this: Mar 19 18:19:58 LandShark kernel: device vnet0 entered promiscuous mode Mar 19 18:19:58 LandShark kernel: br0: port 2(vnet0) entered listening state Mar 19 18:19:58 LandShark kernel: br0: port 2(vnet0) entered listening state Mar 19 18:19:58 LandShark avahi-daemon[1892]: Withdrawing workstation service for vnet0. Mar 19 18:19:58 LandShark kernel: br0: port 2(vnet0) entered disabled state Mar 19 18:19:58 LandShark kernel: device vnet0 left promiscuous mode Mar 19 18:19:58 LandShark kernel: br0: port 2(vnet0) entered disabled state Is it possible in your qemu code snipped above that port 2 should be set to something else? Just trying to figure what's still off. BTW on the KVM tab ID/VNC Port shows as - / 0 where I think there were other values there before (if that tells you anything). Thanks again.
March 20, 201511 yr So I just wasted 30 minutes trying to get this to create an XML file for my new windows install. If you put "GB" instead of "G" when specifying a drive size, it will never create the XML file properly. I found that someone had the same issue a few pages back. This might be a good thing to mention/fix, otherwise this works amazing!
March 20, 201511 yr Author So I just wasted 30 minutes trying to get this to create an XML file for my new windows install. If you put "GB" instead of "G" when specifying a drive size, it will never create the XML file properly. I found that someone had the same issue a few pages back. This might be a good thing to mention/fix, otherwise this works amazing! It might be mentioned in the size text box e.g. 10M, 1G, 10G... [emoji6]
March 25, 201511 yr Author So I had used the create VM and filled out all the info. Nothing happened. Did you create a network bridge in the unRAID webgui under Settings-> Network?
March 27, 201511 yr I'm VERY new to the world of VM. I've tried getting windows 7 and windows 10 up and running. I can get into the point where I am installing the OS, but unfortunately the VM isn't recognizing my hard drive. I'm sure I'm not passing my sata through properly, but I am not having luck with finding the proper way to handle this. Any advice?
March 27, 201511 yr Author I'm VERY new to the world of VM. I've tried getting windows 7 and windows 10 up and running. I can get into the point where I am installing the OS, but unfortunately the VM isn't recognizing my hard drive. I'm sure I'm not passing my sata through properly, but I am not having luck with finding the proper way to handle this. Any advice? You need to install the virtio drivers.
March 27, 201511 yr You need to install the virtio drivers. After some banging of my head against the wall as to why this wasn't working, I realized that you have to use the AMD64 drivers. Now to learn more!
March 29, 201511 yr I'm having the same problem I used the create VM and filled out all the info. Nothing happened. I have tried every way possible. The .cfg file only has autostart="no" no matter how I set autostart. I did get this error on the unraid page Warning: libvirt_domain_create_xml(): XML error: unable to parse mac address 'Warning: libvirt_connect_get_information(): this function is not supported by the connection driver: virConnectIsSecure in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 639Warning: libvirt_connect_get_information(): this function is not supported by the connection driver: virConnectIsSecure in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 639Warning: libvirt_connect_get_information(): this function is not supported by the connection driver: virConnectIsSecure in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 639Warning: libvirt_connect_get_information(): this function is not supported by the connection driver: virConnectIsSecure in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 63900:16:3e:8d:f1:9e' in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 218 libvertd.log shows this /usr/bin/tail -n 42 -f /var/log/libvirt/libvirtd.log 2>&1 2015-03-29 05:00:48.743+0000: 2275: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollDispatchHandles:506 : EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollRunOnce:640 : EVENT_POLL_RUN: nhandles=10 timeout=-1 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollDispatchHandles:506 : EVENT_POLL_DISPATCH_HANDLE: watch=13 events=2 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=13 events=0 2015-03-29 05:00:48.743+0000: 2271: info : virKeepAliveStop:310 : RPC_KEEPALIVE_STOP: ka=0x2b157c59f800 client=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectRef:296 : OBJECT_REF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59f800 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b157c59f800 2015-03-29 05:00:48.743+0000: 2271: info : virKeepAliveDispose:230 : RPC_KEEPALIVE_DISPOSE: ka=0x2b157c59f800 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectRef:296 : OBJECT_REF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollRemoveHandle:186 : EVENT_POLL_REMOVE_HANDLE: watch=13 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c5a8d90 2015-03-29 05:00:48.743+0000: 2271: info : virNetServerCheckLimits:1083 : Re-enabling services 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=3 events=1 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=4 events=1 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=5 events=1 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollCleanupHandles:587 : EVENT_POLL_PURGE_HANDLE: watch=13 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virNetServerClientDispose:851 : RPC_SERVER_CLIENT_DISPOSE: client=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b158c000d30 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b158c000d30 2015-03-29 05:00:48.743+0000: 2271: info : virObjectNew:202 : OBJECT_NEW: obj=0x2b157c5a90d0 classname=virIdentity 2015-03-29 05:00:48.744+0000: 2271: info : virObjectRef:296 : OBJECT_REF: obj=0x2b157c5a90d0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b1590001050 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b1590001050 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b1590000ff0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b1590000ff0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c5a90d0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c5a90d0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b157c5a90d0 2015-03-29 05:00:48.744+0000: 2271: info : virEventPollRemoveTimeout:305 : EVENT_POLL_REMOVE_TIMEOUT: timer=2 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c5a8d90 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b157c5a8d90 2015-03-29 05:00:48.744+0000: 2271: info : virNetSocketDispose:1137 : RPC_SOCKET_DISPOSE: sock=0x2b157c5a8d90 2015-03-29 05:00:48.744+0000: 2271: info : virEventPollRemoveHandle:186 : EVENT_POLL_REMOVE_HANDLE: watch=13 2015-03-29 05:00:48.744+0000: 2271: info : virEventPollRunOnce:640 : EVENT_POLL_RUN: nhandles=9 timeout=-1
March 29, 201511 yr I try to create VM with KVM web UI option but nothing happens. The plugin only create the VM if i Put all in clear options(Only name)
March 29, 201511 yr Author I'm having the same problem I used the create VM and filled out all the info. Nothing happened. I have tried every way possible. The .cfg file only has autostart="no" no matter how I set autostart. I did get this error on the unraid page Warning: libvirt_domain_create_xml(): XML error: unable to parse mac address 'Warning: libvirt_connect_get_information(): this function is not supported by the connection driver: virConnectIsSecure in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 639Warning: libvirt_connect_get_information(): this function is not supported by the connection driver: virConnectIsSecure in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 639Warning: libvirt_connect_get_information(): this function is not supported by the connection driver: virConnectIsSecure in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 639Warning: libvirt_connect_get_information(): this function is not supported by the connection driver: virConnectIsSecure in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 63900:16:3e:8d:f1:9e' in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 218 libvertd.log shows this /usr/bin/tail -n 42 -f /var/log/libvirt/libvirtd.log 2>&1 2015-03-29 05:00:48.743+0000: 2275: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollDispatchHandles:506 : EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollRunOnce:640 : EVENT_POLL_RUN: nhandles=10 timeout=-1 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollDispatchHandles:506 : EVENT_POLL_DISPATCH_HANDLE: watch=13 events=2 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=13 events=0 2015-03-29 05:00:48.743+0000: 2271: info : virKeepAliveStop:310 : RPC_KEEPALIVE_STOP: ka=0x2b157c59f800 client=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectRef:296 : OBJECT_REF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59f800 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b157c59f800 2015-03-29 05:00:48.743+0000: 2271: info : virKeepAliveDispose:230 : RPC_KEEPALIVE_DISPOSE: ka=0x2b157c59f800 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectRef:296 : OBJECT_REF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollRemoveHandle:186 : EVENT_POLL_REMOVE_HANDLE: watch=13 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c5a8d90 2015-03-29 05:00:48.743+0000: 2271: info : virNetServerCheckLimits:1083 : Re-enabling services 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=3 events=1 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=4 events=1 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=5 events=1 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virEventPollCleanupHandles:587 : EVENT_POLL_PURGE_HANDLE: watch=13 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virNetServerClientDispose:851 : RPC_SERVER_CLIENT_DISPOSE: client=0x2b157c59efd0 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b158c000d30 2015-03-29 05:00:48.743+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b158c000d30 2015-03-29 05:00:48.743+0000: 2271: info : virObjectNew:202 : OBJECT_NEW: obj=0x2b157c5a90d0 classname=virIdentity 2015-03-29 05:00:48.744+0000: 2271: info : virObjectRef:296 : OBJECT_REF: obj=0x2b157c5a90d0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b1590001050 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b1590001050 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b1590000ff0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b1590000ff0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c5a90d0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c5a90d0 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b157c5a90d0 2015-03-29 05:00:48.744+0000: 2271: info : virEventPollRemoveTimeout:305 : EVENT_POLL_REMOVE_TIMEOUT: timer=2 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2b157c5a8d90 2015-03-29 05:00:48.744+0000: 2271: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2b157c5a8d90 2015-03-29 05:00:48.744+0000: 2271: info : virNetSocketDispose:1137 : RPC_SOCKET_DISPOSE: sock=0x2b157c5a8d90 2015-03-29 05:00:48.744+0000: 2271: info : virEventPollRemoveHandle:186 : EVENT_POLL_REMOVE_HANDLE: watch=13 2015-03-29 05:00:48.744+0000: 2271: info : virEventPollRunOnce:640 : EVENT_POLL_RUN: nhandles=9 timeout=-1 Did you create a bridge in unRAID webgui Settings-> Network? The error about the mac address seems relevant. You should be able to create a vm by only entering a name and the click Create VM. I would try that first. And you're not using Xen unRAID?
March 29, 201511 yr Author I try to create VM with KVM web UI option but nothing happens. The plugin only create the VM if i Put all in clear options(Only name) In not sure what you mean. You can only create a vm by entering just the name?
March 30, 201511 yr I try to create VM with KVM web UI option but nothing happens. The plugin only create the VM if i Put all in clear options(Only name) In not sure what you mean. You can only create a vm by entering just the name? Yes, VM only Is created if I insert only the name, I have Xen support enabled, and br0 enabled too. there are some conflicts if I have Xen enabled? There are some log of create VM process that I can view to detect problems? Thanks for your help, I appreciate it. Sorry for my bad english dmacias, I'm Spanish and I have difficults to write english.
March 30, 201511 yr I have Xen support enabled, and br0 enabled too. there are some conflicts if I have Xen enabled? You can only have Xen OR KVM enabled at the same time. You select via the unRAID Boot Menu which you want (you get KVM if you do not select Xen) Whether that causes issues at the stage of trying to create a VM I am not sure.
March 30, 201511 yr Perfect Thanks it's works! Now I try to share with p9 my unraid shares to a KVM Xpenology(DSM 5.1) VM I want unraid array system with Synology DSM GUI
March 30, 201511 yr Author Sorry for the confusion. I did make it so this plugin will work with Xen. However the create vm tab won't. You can manually add, start, stop, etc. I'll add a condition to not display the create tab in Xen. Xen was just lacking in libvirt functionality.
April 4, 201511 yr Hi dmacias, I did a clean install of Unraid and pasted the link in the first post (now i am runnning 6b14b) and it is not working. Nothing is downloaded and the pluging does not show up in Settings. I tried a couple of weeks ago and it did run with no problems. Rgds.
April 4, 201511 yr Author Hi dmacias, I did a clean install of Unraid and pasted the link in the first post (now i am runnning 6b14b) and it is not working. Nothing is downloaded and the pluging does not show up in Settings. I tried a couple of weeks ago and it did run with no problems. Rgds. It's not under Settings. It's under KVM tab. Make sure you use the dynamix version. Also does it show up under plugins as installed? Don't forget to create a network bridge also.
April 4, 201511 yr It's not under Settings. It's under KVM tab. Make sure you use the dynamix version. Also does it show up under plugins as installed? Don't forget to create a network bridge also. KVM tab does not show up. It is not present at installed plugins too. Bridge was already created. What dou you mean by "Make sure you use the dynamix version"? Do you mean what you wrote in your opening post: "This is for beta 12 and above with dynamix webgui"? Rgds. root@Tower2:/usr/local/emhttp/plugins# ls apcupsd/ dynamix.docker.manager/ dynamix.xen.manager/ dynamix/ dynamix.plugin.manager/ unRAIDServer/ root@Tower2:/boot/config/plugins# ls dynamix/ root@Tower2:/boot/config/plugins/dynamix# ls dynamix.cfg*
April 4, 201511 yr Author It's not getting installed for some reason. What does it say in the pop up window when you paste the url and install the plugin?
April 4, 201511 yr It's not getting installed for some reason. What does it say in the pop up window when you paste the url and install the plugin? Here it is:http://i236.photobucket.com/albums/ff75/razzta01/unraid%20-%20varios/vmmgr/dmacias1_zpstf5aq3pk.png
April 5, 201511 yr Author It's not getting installed for some reason. What does it say in the pop up window when you paste the url and install the plugin? Here it is:http://i236.photobucket.com/albums/ff75/razzta01/unraid%20-%20varios/vmmgr/dmacias1_zpstf5aq3pk.png It looks like it's not downloading from github. You might check that your server has internet access.
April 5, 201511 yr Hi dmacias, is there a way to update it manually? I am having trouble with my network setup. Rgds.
Archived
This topic is now archived and is closed to further replies.