]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: migration: Don't attempt to fall back to old-style storage migration
authorPeter Krempa <pkrempa@redhat.com>
Thu, 8 Sep 2022 10:48:47 +0000 (12:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 9 Sep 2022 14:10:47 +0000 (16:10 +0200)
commit62b3f97aeebb552580fec844796bebc4fe7ae7cf
tree3d0601e2bfcdd20552e1b00df61fa6fe7e4e17a9
parent2980268b228d02f508f280d73a9507a009381dc4
qemu: migration: Don't attempt to fall back to old-style storage migration

QEMU supported the NBD server required for the new-style migration for a
long time already and when coupled with -blockdev the old style
migration doesn't even work, thus remove support for it.

This patch modifies the code to check that the destination returned data
for the NBD migration and returns an error if it did not and deletes the
fallback code paths which would not work.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_migration.c