]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationCookieAddNBD: Fix filling of 'capacity' when blockdev is used
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Jan 2020 14:35:06 +0000 (15:35 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 31 Jan 2020 13:28:29 +0000 (14:28 +0100)
commitb9e87908dbcff23cc3fdf3d8629849560d2e7268
treee579f54214613d153396b5bbefd6762c2510b07f
parentd409411213152d204b85daf05468c4f7f17c1616
qemuMigrationCookieAddNBD: Fix filling of 'capacity' when blockdev is used

With -blockdev we must look up via the nodename rather than the 'drive'
alias which is not present any more.

This fixes the pre-creation of storage volumes on migration with
non-shared storage.

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

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration_cookie.c