xl: Use _VerboseCommand for save/restore/migrate
PATCH 1/1 xl: Use _VerboseCommand for save/restore/migrate
Additional logging is as useful here as for create.
Signed-off-by Ian Campbell <[email protected]>
--- Osstest/Toolstack/xl.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Osstest/Toolstack/xl.pm +3 -3
@@ -76,7 +76,7 @@ sub migrate ($$$$) { my $dst = $dho->{Name}; my $gn = $gho->{Name}; target_cmd_root($sho, - $self->{_Command}." migrate $gn $dst", + $self->{_VerboseCommand}." migrate $gn $dst", $timeout); }
@@ -84,7 +84,7 @@ sub save ($$$$) { 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 ($$$$) {
@@ -93,7 +93,7 @@ sub restore ($$$$) { my $gn = $gho->{Name}; my $cfg = $self->{RestoreNeedsConfig} ? $gho->{CfgPath} : ''; target_cmd_root($ho, - $self->{_Command} + $self->{_VerboseCommand} ." restore " .$cfg ." $f", $timeout);
Signature · 1 line
2.1.4
Ian Campbell writes ("[PATCH OSSTEST] xl: Use _VerboseCommand for save/restore/migrate"):
Quoted 1 line
Additional logging is as useful here as for create.
Acked-by Ian Jackson <[email protected]>