Additional logging is as useful here as for create.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
my $dst = $dho->{Name};
my $gn = $gho->{Name};
target_cmd_root($sho,
- $self->{_Command}." migrate $gn $dst",
+ $self->{_VerboseCommand}." migrate $gn $dst",
$timeout);
}
my ($self,$gho,$f,$timeout) = @_;
my $ho = $self->{Host};
my $gn = $gho->{Name};
- target_cmd_root($ho,$self->{_Command}." save $gn $f", $timeout);
+ target_cmd_root($ho,$self->{_VerboseCommand}." save $gn $f", $timeout);
}
sub restore ($$$$) {
my $gn = $gho->{Name};
my $cfg = $self->{RestoreNeedsConfig} ? $gho->{CfgPath} : '';
target_cmd_root($ho,
- $self->{_Command}
+ $self->{_VerboseCommand}
." restore "
.$cfg
." $f", $timeout);