[PATCH 6/8] qemu: migration: Rename qemuMigrationDstPrecreateStorage to qemuMigrationDstPrepareStorage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The function will be used to setup storage for non-shared-storage
migration, not just precreate images.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_migration.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 0ae88eec03..2d91fc3e8b 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -434,11 +434,11 @@ qemuMigrationHasAnyStorageMigrationDisks(virDomainDef *def,


 static int
-qemuMigrationDstPrecreateStorage(virDomainObj *vm,
-                                 qemuMigrationCookieNBD *nbd,
-                                 size_t nmigrate_disks,
-                                 const char **migrate_disks,
-                                 bool incremental)
+qemuMigrationDstPrepareStorage(virDomainObj *vm,
+                               qemuMigrationCookieNBD *nbd,
+                               size_t nmigrate_disks,
+                               const char **migrate_disks,
+                               bool incremental)
 {
     g_autoptr(virConnect) conn = NULL;
     size_t i = 0;
@@ -3097,9 +3097,9 @@ qemuMigrationDstPrepareActive(virQEMUDriver *driver,
         goto error;
     }

-    if (qemuMigrationDstPrecreateStorage(vm, mig->nbd,
-                                         nmigrate_disks, migrate_disks,
-                                         !!(flags & VIR_MIGRATE_NON_SHARED_INC)) < 0)
+    if (qemuMigrationDstPrepareStorage(vm, mig->nbd,
+                                       nmigrate_disks, migrate_disks,
+                                       !!(flags & VIR_MIGRATE_NON_SHARED_INC)) < 0)
         goto error;

     if (tunnel &&
-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux