]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: skip precreation of network disks
authorMichael Chapman <mike@very.puzzling.org>
Fri, 13 Mar 2015 00:34:58 +0000 (11:34 +1100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 23 Mar 2015 09:25:20 +0000 (10:25 +0100)
commita1b1805155ede31dde755ff087963aa10b9b069b
tree4a7fc749062fe83db48d6a9a78b5cf4f5c080ec4
parentd9706aea189d1f5fc61f65c69d563ffcf05696a7
qemu: skip precreation of network disks

Commit cf54c60699833b3791a5d0eb3eb5a1948c267f6b introduced the ability
to create missing storage volumes during migration. For network disks,
however, we may not necessarily be able to detect whether they already
exist -- there is no straight-forward way to map the disk to a storage
volume, and even if there were it's possible no configured storage pool
actually contains the disk.

It is better to assume the network disk exists in this case, rather than
aborting the migration completely. If the volume really is missing, QEMU
will generate an appropriate error later in the migration.

Signed-off-by: Michael Chapman <mike@very.puzzling.org>
src/qemu/qemu_migration.c