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.

[PLUGIN] Web Virtual Manager (depreciated)

Featured Replies

got it, thanks!

  • Replies 157
  • Views 38.8k
  • Created
  • Last Reply

I'm looking for a little help, i have 2 VM's both with things passed through that i'm trying to register them in virtman. I've selected new instance from xml and pasted the config in but i get the following error.

 

(domain_definition):66: Unescaped '<' not allowed in attributes values <qemu:arg value='-device'/> ----^

 

this is the section of my xml that the error relates too.

 

<qemu:commandline>

    <qemu:arg value='-device'/>

    <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chass$

    <qemu:arg value='-device'/>

    <qemu:arg value='vfio-pci,host=07:00.0,bus=pcie.0'/>

  </qemu:commandline>

</domain>

 

Any pointers?

Hi dmacias,

I am experiencing a problem related to access the files after using webvirtmgr. When I start unraid and then start webvirtmgr I successfully can access the files (my w8.xml, w8.qcow2, etc..) and start the VM. But if I stop the VM and try again to start it...I shows me an error (files are read only or you do not have pemissions to access files).

I tried to change from nobody to root and back .. with no success.

I tried the same thing outside of webvirtmgr and same thing happens...any idea why is this happening?

Rgds.

  • Author

 

 

I'm looking for a little help, i have 2 VM's both with things passed through that i'm trying to register them in virtman. I've selected new instance from xml and pasted the config in but i get the following error.

 

(domain_definition):66: Unescaped '<' not allowed in attributes values <qemu:arg value='-device'/> ----^

 

this is the section of my xml that the error relates too.

 

<qemu:commandline>

    <qemu:arg value='-device'/>

    <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chass$

    <qemu:arg value='-device'/>

    <qemu:arg value='vfio-pci,host=07:00.0,bus=pcie.0'/>

  </qemu:commandline>

</domain>

 

Any pointers?

 

You're missing a /> after chass$

  • Author

 

 

Hi dmacias,

I am experiencing a problem related to access the files after using webvirtmgr. When I start unraid and then start webvirtmgr I successfully can access the files (my w8.xml, w8.qcow2, etc..) and start the VM. But if I stop the VM and try again to start it...I shows me an error (files are read only or you do not have pemissions to access files).

I tried to change from nobody to root and back .. with no success.

I tried the same thing outside of webvirtmgr and same thing happens...any idea why is this happening?

Rgds.

 

The root/nobody only applies to the webvirtmgr directory where the program is installed.  Where are you storing your vm images?

The root/nobody only applies to the webvirtmgr directory where the program is installed.  Where are you storing your vm images?

Hi dmacias my images (w8.qcow2 and virtio.iso/windows8.iso) are located in /mnt/disk1/images directory.

I had them before in /mnt/vm (mounted in an SSD outside of the array). This SSD is the same disk where webvirtmgr is located (/mnt/vm/webvirtmgr).

Rgds.

 

 

I'm looking for a little help, i have 2 VM's both with things passed through that i'm trying to register them in virtman. I've selected new instance from xml and pasted the config in but i get the following error.

 

(domain_definition):66: Unescaped '<' not allowed in attributes values <qemu:arg value='-device'/> ----^

 

this is the section of my xml that the error relates too.

 

<qemu:commandline>

    <qemu:arg value='-device'/>

    <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chass$

    <qemu:arg value='-device'/>

    <qemu:arg value='vfio-pci,host=07:00.0,bus=pcie.0'/>

  </qemu:commandline>

</domain>

 

Any pointers?

 

You're missing a /> after chass$

 

 

Well I feel a bit stupid, i didn't have my window wide enough and chopped the end of the line of when i copied it  ::)

 

Thanks for spotting it.

  • Author

The root/nobody only applies to the webvirtmgr directory where the program is installed.  Where are you storing your vm images?

Hi dmacias my images (w8.qcow2 and virtio.iso/windows8.iso) are located in /mnt/disk1/images directory.

I had them before in /mnt/vm (mounted in an SSD outside of the array). This SSD is the same disk where webvirtmgr is located (/mnt/vm/webvirtmgr).

Rgds.

I'm not sure how you moved them but it  likely is a permissions problem. Might move them back and see if that works.

I'm not sure how you moved them but it  likely is a permissions problem. Might move them back and see if that works.

I checked my syslog and I am getting some btrfs and reseirfs errors...this somehow must be interfering with it. I will solve this first. Thx anyway for support.

My first time messing with all of this.  :)  The test machine I am using is vt-x capable but not vt-d (should not be needed since I am not using passthrough).  As far as I can tell, everything is running correctly.

 

Status RUNNING with version: v4.8.8-29-g72a4544

 

Web Virtual Manager is up to date.

 

Total Storage Usage: 7 MB

Install Directory: 7 MB

Your config data will persist after a reboot

 

I created a vanilla Ubuntu 14.04 instance using the "small" template in webvirtman.  When I try and start the VM, I get he following message:

 

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.

 

Nothing is written to the syslog.

 

Here is my XML:

 

<domain type='kvm'>
  <name>ubuntu</name>
  <uuid>8d5d259c-f821-d11b-4379-9001f8a06ac0</uuid>
  <description>None</description>
  <memory unit='KiB'>1048576</memory>
  <currentMemory unit='KiB'>1048576</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
    <boot dev='hd'/>
    <boot dev='cdrom'/>
    <bootmenu enable='yes'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu mode='host-model'>
    <model fallback='allow'/>
  </cpu>
  <clock offset='utc'/>
  <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/cache/VMs/ubuntu.img'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/Images/ubuntu-14.04.1-desktop-amd64.iso'/>
      <target dev='hda' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='1' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <interface type='network'>
      <mac address='52:54:00:c7:52:bf'/>
      <source network='virbr0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 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' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

I'm guessing I missed a required step along the way.

 

John

  • Author

I wouldn't use those default templates. You could try custom instance. Then edit the vnc like the first page says. Then edit the network to use the network bridge you create in unraid settings. My unraid bridge is br0.

<interface type='bridge'> <mac address='00:16:3e:01:01:04'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='virtio'/> <alias name='net0'/>

 

Or you could paste an xml in the "From XML" I think there are some in this thread. I used peter's ubuntu xml from another thread. You still need the vnc settings from the first page of the thread.

 

OK, I tried using peter's XML and got the same result.

 

I then restarted libvirtd and see this in the syslog:

 

Oct  7 07:24:36 Tower php: /etc/rc.d/rc.libvirt restart 

Oct  7 07:24:36 Tower php: Waiting machines

Oct  7 07:24:36 Tower php:

Oct  7 07:24:36 Tower php: Stopping libvirtd...

Oct  7 07:24:36 Tower php:

Oct  7 07:24:40 Tower php: Starting libvirtd...

Oct  7 07:24:40 Tower kernel: tun: Universal TUN/TAP device driver, 1.6

Oct  7 07:24:40 Tower kernel: tun: © 1999-2004 Max Krasnyansky

Oct  7 07:24:40 Tower kernel: kvm: disabled by bios

Oct  7 07:24:41 Tower kernel: kvm: disabled by bios

Oct  7 07:24:41 Tower php:

 

Yeah so Virtualization was not enabled in the BIOS.  :-\  My bad.

 

John

Hi dmacias, everything up and working! thx for your help and time developing the GUI.

Rgds.

EDIT: Just curious, do you have the same graphical performance when connected to a VM using webvirtmgr built-in VNC as compared to accessing to the VM using directly the TightVNC Viewer?

Just updated to the latest version of webvirtmgr via the plugins ->update gui and this is the first time that it has successfully updated! Normally I have to remove all the webvirtmgr data files and start from scratch. Not sure what has changed but I just wanted to thank you again Dmacias for all your time keeping this updated!

 

EDIT: Also I really like the new "KVM" tab!

Hi dmacias,

 

What is the best way to uninstall Webwirtmgr and Virtman. I tried the remove option with no success.

 

Rgds.

Hi dmacias,

 

What is the best way to uninstall Webwirtmgr and Virtman. I tried the remove option with no success.

 

Rgds.

Try specifying a different install path in the plugin control panel...

  • Author

Hi dmacias,

 

What is the best way to uninstall Webwirtmgr and Virtman. I tried the remove option with no success.

 

Rgds.

You can remove the webvirtmgr and vitMan plg files and corresponding folders from your flash drive.  In /config/plugins. Then reboot unraid

With the latest plug-in update it's not allowing me to log in.  If I goto unraid:8000/servers/ I can log in and it works.

 

 

 

 

 

 

 

kvm_error.PNG.719be6b17aa9f714cf397dc2898cc4c5.PNG

  • Author

With the latest plug-in update it's not allowing me to log in.  If I goto unraid:8000/servers/ I can log in and it works.

I changed it to use ip from unraid network cfg.  If you try ip:8000 does that not work for you?

If I click on the running green icon in settings/kvm Manager it works which takes me to http://192.168.0.100:8000/servers/

 

 

If I click on the link in unraid gui (KVM across the top) it won't allow me to log in.

 

 

edit: If I use http://192.168.0.100/KVM it does work.  But everything i do in unraid is with my dns name nas1

kvm1.PNG.dcddb185338ed8d4265a74451a138deb.PNG

I've had this issue recently as well and it had to do with network.cfg on the boot device having an IP address defined even though it was set to using dhcp.

  • Author

I've had this issue recently as well and it had to do with network.cfg on the boot device having an IP address defined even though it was set to using dhcp.

I'll change it back to get hostname. Was just trying to help with osx. Also thought I'd tease something I've been working on.

802e1fb310460a311de0c448a0531655.jpg

6f506e51070ec778f918fab92d8a437b.jpg

2e3bbe1c6fc4ecd8326a2f147a1ea162.jpg

8b833dcd0181ca7499b3a288526d419c.jpg

3d1369ae840d4f6d30f5618f99d85ec0.jpg

a4a65f1cfd8a5da9befc52fa41ec3b2e.jpg

WOW! That is incredible! Is there a way for you to add a restart button next to the shutdown button?

  • Author

WOW! That is incredible! Is there a way for you to add a restart button next to the shutdown button?

Thanks and added restart, pause & resume had to change to icons though

eaf5b3f11dbe7edc1f96432183dae469.jpg

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.