[libvirt] [PATCH 2/2] vz: added VIR_MIGRATE_NON_SHARED_INC migration flag support

Pavel Glushchak pglushchak at virtuozzo.com
Thu Dec 8 08:49:16 UTC 2016


This flag is used in Virtuozzo backend implicitly, thus
we need to support it and don't fail if it's set.

Signed-off-by: Pavel Glushchak <pglushchak at virtuozzo.com>
---
 src/vz/vz_driver.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index 08f7961..0a84cee 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -2899,7 +2899,8 @@ vzEatCookie(const char *cookiein, int cookieinlen, unsigned int flags)
                                     VIR_MIGRATE_PEER2PEER |       \
                                     VIR_MIGRATE_LIVE |            \
                                     VIR_MIGRATE_UNDEFINE_SOURCE | \
-                                    VIR_MIGRATE_PERSIST_DEST)
+                                    VIR_MIGRATE_PERSIST_DEST |    \
+                                    VIR_MIGRATE_NON_SHARED_INC)
 
 #define VZ_MIGRATION_PARAMETERS                                 \
     VIR_MIGRATE_PARAM_DEST_XML,         VIR_TYPED_PARAM_STRING, \
-- 
2.7.4




More information about the libvir-list mailing list