brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: see the XML behind a VM with the inline XML view in Unraid 7

Unraid
~/tips/tip-unraid-vm-inline-xml-view

cat ~/tips/tip-unraid-vm-inline-xml-view.md

Shows the libvirt XML that your VM form choices produce, so you can see what each setting does.

Unraid’s VM form hides a lot of libvirt XML. Since 7.0.0 you can look at it without leaving the editor.

The 7.0.0 release notes say the VM editor has a new read-only inline XML mode for advanced users. It makes it clear how the choices in the form change the XML that Unraid uses for the VM. The VM docs describe it as viewing or copying the XML the web UI generates, with a switch to XML mode for advanced edits.

A simple way to use it: change one setting in the form, such as the graphics card or a USB device, then look at the XML mode and see which lines changed. That is also a good way to learn what to paste when you ask for help on the forum.

Caveat: the release notes call the mode read-only, while the current VM docs mention editing in XML mode. I would not rely on one wording or the other. Check on your own version before you plan around editing, and keep a copy of the XML before any change.

Further reading: Unraid 7.0.0 release notes, Unraid docs: VM setup

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container Choose where a new VM's disk image is created with Unraid's storage override grep -i "Memory cgroup out of memory" /var/log/syslog All Unraid tips (77) All topics

Link