[PATCH 1/2] vz: implicitly support additional migration flags

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

 



* Added VIR_MIGRATE_LIVE, VIR_MIGRATE_UNDEFINE_SOURCE and
  VIR_MIGRATE_PERSIST_DEST to supported migration flags

Signed-off-by: Pavel Glushchak <pglushchak@xxxxxxxxxxxxx>
---
 src/vz/vz_driver.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index b34fe33..7a12632 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -2887,8 +2887,11 @@ vzEatCookie(const char *cookiein, int cookieinlen, unsigned int flags)
     goto cleanup;
 }
 
-#define VZ_MIGRATION_FLAGS         (VIR_MIGRATE_PAUSED |        \
-                                    VIR_MIGRATE_PEER2PEER)
+#define VZ_MIGRATION_FLAGS         (VIR_MIGRATE_PAUSED |          \
+                                    VIR_MIGRATE_PEER2PEER |       \
+                                    VIR_MIGRATE_LIVE |            \
+                                    VIR_MIGRATE_UNDEFINE_SOURCE | \
+                                    VIR_MIGRATE_PERSIST_DEST)
 
 #define VZ_MIGRATION_PARAMETERS                                 \
     VIR_MIGRATE_PARAM_DEST_XML,         VIR_TYPED_PARAM_STRING, \
-- 
2.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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]