From 972511a06a4db6b16f545c510c48864e7b660ff2 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 31 Aug 2012 11:02:47 +0200 Subject: [PATCH] migrate: disable xbzrle for now. This is not stable, and sometimes cause endless migration (migration never stops). --- PVE/QemuMigrate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index cd5b769f..c6302b05 100644 --- a/PVE/QemuMigrate.pm +++ b/PVE/QemuMigrate.pm @@ -328,7 +328,7 @@ sub phase2 { 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]); @@ -402,7 +402,7 @@ sub phase2 { $self->log('info', "migration status: $stat->{status} (transferred ${trans}, " . "remaining ${rem}), total ${total})"); - $self->log('info', "migration xbzrle cachesize: ${xbzrlecachesize} transferred ${xbzrlebytes} pages ${xbzrlepages} cachemiss ${xbzrlecachemiss} overflow ${xbzrleoverflow}"); + #$self->log('info', "migration xbzrle cachesize: ${xbzrlecachesize} transferred ${xbzrlebytes} pages ${xbzrlepages} cachemiss ${xbzrlecachemiss} overflow ${xbzrleoverflow}"); } $lstat = $stat->{ram}->{transferred};