[pve-devel] [PATCH] xbzrle : also desactivate xbzrle on target vm startup

Alexandre Derumier aderumier at odiso.com
Mon Sep 10 15:12:05 CEST 2012


just to be sure, also desactivate xbzrle on target at vm startup

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuServer.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 7e7a286..f74569b 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2934,7 +2934,7 @@ sub vm_start {
 	if($migratedfrom) {
 	    my $capabilities = {};
 	    $capabilities->{capability} =  "xbzrle";
-	    $capabilities->{state} = JSON::true;
+	    $capabilities->{state} = JSON::false;
 	    eval { PVE::QemuServer::vm_mon_cmd_nocheck($vmid, "migrate-set-capabilities", capabilities => [$capabilities]); };
 	}
 
-- 
1.7.2.5




More information about the pve-devel mailing list