Hi,
This note is about https://www.cyberciti.biz/faq/how-to-rename-kvm-virtual-machine-vm-domain-with-virsh-command/
I would like to point the fact that after renaming a VM, it is important to change the symbolic link in /etc/libvirt/qemu/autostart/ if there is one.
And I would also mention that one will loose vnc password if they don’t use --security-info as an option for dumpxml.
Bye
Santiago