[PATCH 8/8] qemuMigrationDstPrepareStorage: Annotate that existance of 'volume' disks is checked elswhere

Peter Krempa posted 8 patches 1 year, 11 months ago
[PATCH 8/8] qemuMigrationDstPrepareStorage: Annotate that existance of 'volume' disks is checked elswhere
Posted by Peter Krempa 1 year, 11 months ago
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 src/qemu/qemu_migration.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 438aa4503e..1faab5dd23 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -502,6 +502,9 @@ qemuMigrationDstPrepareStorage(virDomainObj *vm,
             return -1;

         case VIR_STORAGE_TYPE_VOLUME:
+            /* Existance of 'volume' type disks are handled when pre-creating them */
+            break;
+
         case VIR_STORAGE_TYPE_LAST:
         case VIR_STORAGE_TYPE_NONE:
             break;
-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org