Red Hat Bugzilla – Bug 1264687
RFE: use libvirt virDomainRename
Last modified: 2017-10-11 15:03:37 EDT
Since libvirt 1.2.19 there's a virDomainRename API, we should look into using this instead of our hacked up undefine/redefine method which loses some state like managedsave, etc. Though as of this writing it doesn't look like the API handles moving snapshots, so it's still not a 100% solution.
API docs: https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainRename
*** Bug 1496394 has been marked as a duplicate of this bug. ***