add error log for qm start of the target vm.

Can be usefull to see what's wrong if target vm doesn't start (missing storage, missing bridge,...)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2012-12-27 09:18:15 +01:00 committed by Dietmar Maurer
parent 3beb415bd7
commit ab399b7c5d

View File

@ -312,7 +312,10 @@ sub phase2 {
if ($line =~ m/^migration listens on port (\d+)$/) {
$rport = $1;
}
}, errfunc => sub {});
}, errfunc => sub {
my $line = shift;
$self->log('info', $line);
});
die "unable to detect remote migration port\n" if !$rport;