Copy kvm virtual machine and XML

Closeup photo of eyeglasses

Photo by Kevin Ku on Unsplash

Copy the VM's disks from /var/lib/libvirt/images from source machine to the same folder on the destination machine

On the source machine run virsh dumpxml VMNAME > machine.xml

Copy the resultant XML file to the destination and on the destination machine run virsh define domxml.xml