[pve-devel] [PATCH] migrate : remove expected_downtime value
Alexandre Derumier
aderumier at odiso.com
Wed Feb 13 10:56:28 CET 2013
no more available in qemu 1.4
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/QemuMigrate.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index de2ee57..fb23d81 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
@@ -427,12 +427,11 @@ sub phase2 {
my $xbzrlepages = $stat->{"xbzrle-cache"}->{"pages"} || 0;
my $xbzrlecachemiss = $stat->{"xbzrle-cache"}->{"cache-miss"} || 0;
my $xbzrleoverflow = $stat->{"xbzrle-cache"}->{"overflow"} || 0;
- my $expected_downtime = $stat->{"expected-downtime"} || 0;
#reduce sleep if remainig memory if lower than the everage transfert
$usleep = 300000 if $avglstat && $rem < $avglstat;
$self->log('info', "migration status: $stat->{status} (transferred ${trans}, " .
- "remaining ${rem}), total ${total}) , expected downtime ${expected_downtime}");
+ "remaining ${rem}), total ${total})");
#$self->log('info', "migration xbzrle cachesize: ${xbzrlecachesize} transferred ${xbzrlebytes} pages ${xbzrlepages} cachemiss ${xbzrlecachemiss} overflow ${xbzrleoverflow}");
if (($lastrem && $rem > $lastrem ) || ($rem == 0)) {
--
1.7.10.4
More information about the pve-devel
mailing list