[PLUGIN DEPRECATED] VM Manager (2015.02.24)


dmacias

Recommended Posts

  • Replies 566
  • Created
  • Last Reply

Top Posters In This Topic

I was thinking of another feature that might be useful. I have two VM's that passthrough the same GPU so one is always on and the other is off, until I need to switch them. Typically how I switch them is ssh into unRAID, start a screen session and issue the command,

virsh shutdown windowns8 && sleep 30 && virsh start windows7

. I was planning on just writing a batch script on the windows VM's that did this but I then thought that maybe it would make sense to make this functionality apart of this plugin? You could possibly select the VM's that you want to shutdown and start and click a button... Let me know what you think.

Link to comment

I was thinking of another feature that might be useful. I have two VM's that passthrough the same GPU so one is always on and the other is off, until I need to switch them. Typically how I switch them is ssh into unRAID, start a screen session and issue the command,

virsh shutdown windowns8 && sleep 30 && virsh start windows7

. I was planning on just writing a batch script on the windows VM's that did this but I then thought that maybe it would make sense to make this functionality apart of this plugin? You could possibly select the VM's that you want to shutdown and start and click a button... Let me know what you think.

That's definitely possible.  Right now you can click on shutdown on each vm sequentially. Once you click shutdown and the page refreshes the first time the shutdown command has been sent.  The plugin just loops a page refresh checking if the vm is shutdown each time. You can click shutdown on another vm and the loop would just be tied to the last vm clicked.  If I had written this in ajax it wouldn't need the page refresh. If I find time to finish the usb device attach and detach I'll look adding this too.

Link to comment

I've actually had success hotplugging a GPU to a VM without shutting it down, pausing it, or restarting it.  More on this soon ;-)

 

It seems like all my posts get the "more on this soon" response... the anticipation is going to kill me! The positive is that VM's are sounding more and more robust.

Link to comment

Hi dmacias,

 

I am having a little problem with the new version of vmmgr. I can create a new standard vm using the "create vm". With standard vm I mean a vm with no passthrough at all. But once I try to create a vm with passthrough it gives me "error".

 

Also, when I try to create a vm with passthrough using the option "add xml" I also get an error message. I am copying a backup of one of my xml´s that was tested and working for months in 6b10a.

 

Pls, let me know which info do you need to try to solve this.

 

This is what I need to passthrough:

  <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,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=pcie.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=07:00.0,bus=root.1,addr=00.1'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:12.0,bus=root.1,addr=00.2'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:12.2,bus=root.1,addr=00.3'/>
  </qemu:commandline>

 

I attach the vm created with vmmgr (without passthrough):

<domain type='kvm'>
  <name>w8d11c</name>
  <uuid>86d7810d-2c18-f9ac-0cc6-cfc8eed0b26a</uuid>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
    </hyperv>
  </features>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/vm/w8/w8d10.qcow2'/>
      <target dev='hda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/disk2/data/pc/os/windows/w8/w81x64.ISO'/>
      <target dev='hdc' bus='sata'/>
      <readonly/>
      <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='0x02' slot='0x02' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0' multifunction='on'/>
    </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='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:6d:fa:a0'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <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='vmvga' 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='0x04' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

And this was my previous working vm with passthrough:

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>w8d10_no hostdevwith qemu</name>
  <uuid>6fb1179f-7673-a2ba-de8e-fdbfa61ebbb5</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>3670016</currentMemory>
  <!--memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking-->
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
<!--pae/>
<kvm>
      <hidden state='on'/>
    </kvm-->
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='2' cores='6' threads='1'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/vm/w8/w8d10.qcow2'/>
      <target dev='hda' bus='virtio'/>
    </disk>
<disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/disk2/data/pc/os/windows/w8/w81x64.ISO'/>
      <target dev='hda' bus='sata'/>
      <readonly/>
     </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/disk2/data/pc/drivers/virtio/virtio-win-0.1-100.iso'/>
      <target dev='hdd' bus='sata'/>
      <readonly/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0' multifunction='on'/>
    </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='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:6c:6a:e3'/>
  <!--mac address='02:16:3e:1a:b3:4a'/-->
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <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='vmvga' 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='0x04' function='0x0'/>
    </memballoon>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,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=pcie.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=07:00.0,bus=root.1,addr=00.1'/>
<qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:12.0,bus=root.1,addr=00.2'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:12.2,bus=root.1,addr=00.3'/>
  </qemu:commandline>
</domain>

Link to comment

Does all the error message say is "error"? Try turning on debugging in settings.  Also make sure name and uuid are different.

Only "error" is shown on bottom.

Name and uuid are different.

Debugging on makes no difference.

You could try cloning a working vm by editing the vm copying then pasting into Add XML changing the name and one letter/number of the uuid. Then save it. Check it's working.  Then edit it with your qemucommandline arguments.  You can just paste those in and save. No need to change the first line of xml.  The plugin will do this for you.  You can also check the libvirt log in Settings tab for any helpful info.

Link to comment

Hi dmacias, I followed your steps and at least I am getting now an error "description":

Warning: libvirt_domain_create(): internal error: process exited while connecting to monitor: 2015-04-10T12:09:52.231226Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio: error opening /dev/vfio/17: No such file or directory 2015-04-10T12:09:52.231259Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio: failed to get group 17 2015-04-10T12:09:52.231271Z 

 

It seems vfio group 17 which is my GPU is not working properly. My syslinux is correct:

append amd_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 pci-stub.ids=1002:67b1 pci-stub.ids=1002:aac8 pcie_acs_override=downstream initrd=/bzroot

 

Check vfio:

### Group 17 ###
    01:00.0 VGA compatible controller: AMD/ATI [Advanced Micro Devices, Inc.] Device 67b1
    01:00.1 Audio device: AMD/ATI [Advanced Micro Devices, Inc.] Device aac8

 

And my log (sorry, but I don´t know how to look for a problem here, maybe you could check it):

/usr/bin/tail -n 42 -f /var/log/libvirt/libvirtd.log 2>&1
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollDispatchHandles:506 : EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1
2015-04-10 12:13:01.218+0000: 1776: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollRunOnce:640 : EVENT_POLL_RUN: nhandles=10 timeout=-1
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollDispatchHandles:506 : EVENT_POLL_DISPATCH_HANDLE: watch=27 events=2
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=27 events=0
2015-04-10 12:13:01.218+0000: 1772: info : virKeepAliveStop:310 : RPC_KEEPALIVE_STOP: ka=0x2abea86c0e20 client=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virObjectRef:296 : OBJECT_REF: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c0e20
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2abea86c0e20
2015-04-10 12:13:01.218+0000: 1772: info : virKeepAliveDispose:230 : RPC_KEEPALIVE_DISPOSE: ka=0x2abea86c0e20
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virObjectRef:296 : OBJECT_REF: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollRemoveHandle:186 : EVENT_POLL_REMOVE_HANDLE: watch=27
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86bfd10
2015-04-10 12:13:01.218+0000: 1772: info : virNetServerCheckLimits:1083 : Re-enabling services
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=3 events=1
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=4 events=1
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollUpdateHandle:152 : EVENT_POLL_UPDATE_HANDLE: watch=5 events=1
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virEventPollCleanupHandles:587 : EVENT_POLL_PURGE_HANDLE: watch=27
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virNetServerClientDispose:851 : RPC_SERVER_CLIENT_DISPOSE: client=0x2abea86c0ab0
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abec0000d30
2015-04-10 12:13:01.218+0000: 1772: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2abec0000d30
2015-04-10 12:13:01.218+0000: 1772: info : virObjectNew:202 : OBJECT_NEW: obj=0x2abea86c9e50 classname=virIdentity
2015-04-10 12:13:01.219+0000: 1772: info : virObjectRef:296 : OBJECT_REF: obj=0x2abea86c9e50
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abecc000d20
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2abecc000d20
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abecc011e10
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2abecc011e10
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c9e50
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86c9e50
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2abea86c9e50
2015-04-10 12:13:01.219+0000: 1772: info : virEventPollRemoveTimeout:305 : EVENT_POLL_REMOVE_TIMEOUT: timer=15
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:259 : OBJECT_UNREF: obj=0x2abea86bfd10
2015-04-10 12:13:01.219+0000: 1772: info : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x2abea86bfd10
2015-04-10 12:13:01.219+0000: 1772: info : virNetSocketDispose:1137 : RPC_SOCKET_DISPOSE: sock=0x2abea86bfd10
2015-04-10 12:13:01.219+0000: 1772: info : virEventPollRemoveHandle:186 : EVENT_POLL_REMOVE_HANDLE: watch=27
2015-04-10 12:13:01.219+0000: 1772: info : virEventPollRunOnce:640 : EVENT_POLL_RUN: nhandles=9 timeout=-1

 

I will try again creating a new vm using "create vm". Then check it. If ok, I will add the qemu:commandline. Will report back.

Link to comment

Also,

Once I create a vm, and it is running, I don´t know why but -if I access with putty unraid- the image file of the running vm is not shown after typing ls...

root@Tower2:/mnt/vm/w8# ls
w8d11.qcow2
root@Tower2:/mnt/vm/w8# ls
root@Tower2:/mnt/vm/w8#

Is this normal?

And then I close the vm. But if I try to start it again I get this error:

Warning: libvirt_domain_create(): Cannot access storage file '/mnt/vm/w8/w8d11.qcow2' (as uid:0, gid:100): No such file or directory in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 838 Warning: libvirt_domain_get_block_info(): cannot stat file '/mnt/vm/w8/w8d11.qcow2': Bad file descriptor in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 438 Warning: libvirt_domain_get_block_info(): Cannot get domain block information in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 438 Warning: libvirt_domain_get_block_info(): cannot stat file '/mnt/vm/w8/w8d11.qcow2': Bad file descriptor in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 438 Warning: libvirt_domain_get_block_info(): Cannot get domain block information in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 438 Warning: libvirt_domain_get_block_info(): cannot stat file '/mnt/vm/w8/w8d11.qcow2': Bad file descriptor in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 438 Warning: libvirt_domain_get_block_info(): Cannot get domain block information in /usr/local/emhttp/plugins/dynamix.kvm.manager/classes/libvirt.php on line 438

And the image of the vm is gone!

Link to comment

The image wasn't created.  Maybe your out of space. Not sure.  You can copy and existing image and paste to a new folder and point Create VM to use an existing image. I haven't done any pass through so I won't be much help with that.

Hi dmacias, I deleted all files in qemu and added the xml with passthrough again (but this time copying the xml file manually to etc/libvirt/qemu/. After checking everything again, I also found another issue. My go file got corrupt...this caused the passthrough error.

Thx for support!

Link to comment

Just an FYI, when the new beta is released with VM Manager built-in, we will unsticky this post and maybe we should lock the thread?  Definitely want to avoid confusion for folks out there, but want to be respectful of the 36 pages of replies on this thread!  Any suggestions on what we should do with it?

Link to comment

Just an FYI, when the new beta is released with VM Manager built-in, we will unsticky this post and maybe we should lock the thread?  Definitely want to avoid confusion for folks out there, but want to be respectful of the 36 pages of replies on this thread!  Any suggestions on what we should do with it?

 

sell it to freenas ?

Link to comment

Just an FYI, when the new beta is released with VM Manager built-in, we will unsticky this post and maybe we should lock the thread?  Definitely want to avoid confusion for folks out there, but want to be respectful of the 36 pages of replies on this thread!  Any suggestions on what we should do with it?

I would suggest that the title should be edited to add something like [sUPERCEDED] so it is obvious it is no longer directly relevant.

Link to comment

Does the new VM Manager allow USB hot plugging? I remember dmcias working on that.  Very excited about it.

I haven't played with the new version much but does the editor (not the xml editor) update the live xml or saved xml.  I hadn't worked on it much more given the fact it was gonna be integrated and changed a lot. I will probably finish it anyway just because. What I had done was a dropbox for each vm with check boxes for each usb device on the main page similar to the mem and cpu drop boxes.

Link to comment

Does the new VM Manager allow USB hot plugging? I remember dmcias working on that.  Very excited about it.

I haven't played with the new version much but does the editor (not the xml editor) update the live xml or saved xml.  I hadn't worked on it much more given the fact it was gonna be integrated and changed a lot. I will probably finish it anyway just because. What I had done was a dropbox for each vm with check boxes for each usb device on the main page similar to the mem and cpu drop boxes.

 

When a VM is updated using the editor, we do a virsh undefine on it then define it again.  This is to ensure that if you want to change the name of the VM, you can.  For whatever reason, libvirt wasn't allowing us to rename VMs using the update method.

Link to comment

Does the new VM Manager allow USB hot plugging? I remember dmcias working on that.  Very excited about it.

Try this. Just put on your flash drive in packages and then run installpkg /boot/packages/dynamix.vm.manager.txz or you can put in /boot/extra so it will install on server boot.  It just overwrites the new plugin with my changes for usb hot plugging. Let me know what you think.

https://github.com/dmacias72/unRAID_6.0/raw/master/dynamix.vm.manager.txz

Edit. This is for the b15 vm manager

Link to comment
  • trurl unpinned this topic

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.