5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-26 10:03:51 +03:00

migrate: disable xbzrle for now.

This is not stable, and sometimes cause endless migration (migration never stops).
This commit is contained in:
Dietmar Maurer 2012-08-31 11:02:47 +02:00
parent 8cba2f63c6
commit 972511a06a

View File

@ -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};