]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_migration: Don't error on tunelled migration with --copy-storage
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 5 Aug 2013 10:05:23 +0000 (12:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Aug 2013 14:07:57 +0000 (16:07 +0200)
commit5de58d87c863752fbcd24a9bd8c0900694b7e5a2
tree7e13181920bc6326c188541a213e48740ad77611
parent01b8812765f17d1a2592bcec2708315f136fb611
qemu_migration: Don't error on tunelled migration with --copy-storage

https://bugzilla.redhat.com/show_bug.cgi?id=979477

Since 1.0.3 we are using the new way to copy non shared storage during
migration (the NBD way). However, whether the new or old way is used is
not controllable by user but unconditionally turned on if both sides of
migration support it. Moreover, the implementation is not complete: the
combination for VIR_MIGRATE_TUNNELLED flag is missing (as we need to
open new port on the destination) in which case we just error out. This
is a deadly combination: not letting users choose their destiny and
erroring out. We should not do that but VIR_WARN and turn the NBD off
instead.
src/qemu/qemu_migration.c