Вывести список всех виртуальных машин:
virsh list --allvirsh dumpxml machine.example.com > machine.xml root@host ~ # editor machine.xml <domain type='kvm' id='24'>
<name>machine-new.example.com</name> <== edit the name here <uuid>cadb89df-574e-ec7e-31fe-31a33d7934f5</uuid> virsh undefine machine.example.comroot@host ~ # virsh define machine.xml