[libvirt] [PATCH] qemu: Make domain renaming work during migration

Eric Blake eblake at redhat.com
Tue Sep 3 15:09:54 UTC 2013


On 09/03/2013 07:46 AM, Jiri Denemark wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=999352
> 
> Since commit v1.0.5-56-g449e6b1 (Pull parsing of migration xml up into
> QEMU driver APIs) any attempt to rename a domain during migration fails
> with the following error message:
> 
>     internal error Incoming cookie data had unexpected name DOM vs DOM2
> 
> This is because migration cookies always use the original domain name
> and the mentioned commit failed to propagate the name back to
> qemuMigrationPrepareAny.
> ---
>  src/qemu/qemu_driver.c    | 36 ++++++++++++++++++++++++------------
>  src/qemu/qemu_migration.c | 31 +++++++++++++++++++------------
>  src/qemu/qemu_migration.h |  5 ++++-
>  3 files changed, 47 insertions(+), 25 deletions(-)

Bummer of a regression; and it takes quite a bit of code to restore
documented functionality.

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130903/59f6dc72/attachment-0001.sig>


More information about the libvir-list mailing list