On 17.05.2016 21:56, Maxim Nestratov wrote: > > > 22.04.2016 10:20, Nikolay Shirokovskiy пишет: >> Peer to peer migration is implemented just as in managed case. Basically >> it is copy paste from managed case but with all the branches that are not >> applied to vz removed. >> >> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx> >> --- >> src/vz/vz_driver.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++++----- >> 1 file changed, 126 insertions(+), 13 deletions(-) >> >> diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c >> index 46f2487..8264ac0 100644 >> --- a/src/vz/vz_driver.c >> +++ b/src/vz/vz_driver.c >> @@ -1700,7 +1700,8 @@ vzEatCookie(const char *cookiein, int cookieinlen) >> goto cleanup; >> } >> -#define VZ_MIGRATION_FLAGS VIR_MIGRATE_PAUSED >> +#define VZ_MIGRATION_FLAGS (VIR_MIGRATE_PAUSED | \ >> + VIR_MIGRATE_PEER2PEER) >> #define VZ_MIGRATION_PARAMETERS \ >> VIR_MIGRATE_PARAM_DEST_XML, VIR_TYPED_PARAM_STRING, \ >> @@ -1804,9 +1805,6 @@ vzDomainMigratePrepare3Params(virConnectPtr conn, >> virCheckFlags(VZ_MIGRATION_FLAGS, -1); >> - if (virTypedParamsValidate(params, nparams, VZ_MIGRATION_PARAMETERS) < 0) >> - goto cleanup; >> - > > Is it intentionally removed? Why? > Looks like it's typo. -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list