]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Clarify semantics of virDomainMigrate{,ToURI}2
authorJiri Denemark <jdenemar@redhat.com>
Mon, 16 Jan 2012 09:24:42 +0000 (10:24 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Jan 2012 09:31:24 +0000 (10:31 +0100)
commit5e31e713657e2582857c66d121de2fe6c1f3df8c
tree331c2e1ddcd235f35344ae3c079c216845566e07
parenta5f8a01abb602d187528c9917d19e7771ab06482
Clarify semantics of virDomainMigrate{,ToURI}2

Commit 5d784bd6d7b19314b0908aec6b46bfe377aeba42 was a nice attempt to
clarify the semantics by requiring domain name from dxml to either match
original name or dname. However, setting dxml domain name to dname
doesn't really work since destination host needs to know the original
domain name to be able to use it in migration cookies. This patch
requires domain name in dxml to match the original domain name. The
change should be safe and backward compatible since migration would fail
just a bit later in the process.
src/libvirt.c
src/qemu/qemu_migration.c