From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH OSSTEST] xl: Use _VerboseCommand for save/restore/migrate Date: Fri, 17 Jul 2015 14:17:34 +0100 Message-ID: <1437139054-13045-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Additional logging is as useful here as for create. Signed-off-by: Ian Campbell --- Osstest/Toolstack/xl.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Osstest/Toolstack/xl.pm b/Osstest/Toolstack/xl.pm index 3c3d348..becda7d 100644 --- a/Osstest/Toolstack/xl.pm +++ b/Osstest/Toolstack/xl.pm @@ -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); -- 2.1.4