kota's memex

Most virsh commands require root. Confusingly, without root they tend to act as if the VMs do not exist rather than printing an error.

list

sudo virsh list --all

start, shutdown, reboot, help

These subcommands do what you'd expect.

destroy

Forcefully stop a given domain, but leave its resources intact.

edit

sudo virsh edit 1

This opens the XML file describing your virtual machine in your editor.

create

sudo virsh create new.xml

This creates a virtual machine from an XML file.