virt-xml
Edit libvirt Domain XML files with explicit command-line options. tldr-pages
On Linux
Linux
Edit libvirt Domain XML files with explicit command-line options. Note: domain refers to the name, UUID, or ID for the existing VMs.
List all the suboptions for a specific option
virt-xml --option=?IdentifyList all the suboptions for disk, network, and boot
virt-xml --disk=? --network=? --boot=?IdentifyEdit a value for a specific domain
virt-xml domain --edit --option suboption=new_valueIdentifyChange the description for a specific domain
virt-xml domain --edit --metadata description="new_description"IdentifyEnable/Disable the boot device menu for a specific domain
virt-xml domain --edit --boot bootmenu=onIdentifyAttach host USB hub to a running VM (run lsusb to see a list of USB devices with their IDs)
virt-xml domain --update --add-device --hostdev bus.deviceIdentify