[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST 1/2] When invoking xl create do so verbosely



xend.pm inherits from xl.pm, but I don't know what (if any) support
for verbosity it has, so the xm invocation is unchanged.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 Osstest/Toolstack/xend.pm | 1 +
 Osstest/Toolstack/xl.pm   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Osstest/Toolstack/xend.pm b/Osstest/Toolstack/xend.pm
index 1d5d059..972b3b1 100644
--- a/Osstest/Toolstack/xend.pm
+++ b/Osstest/Toolstack/xend.pm
@@ -30,6 +30,7 @@ sub new {
                   NewDaemons => [qw(xend)],
                   OldDaemonInitd => 'xend',
                   _Command => 'xm',
+                  _VerboseCommand => 'xm', # no verbosity here
                   Dom0MemFixed => 1,
     }, $class;
 }
diff --git a/Osstest/Toolstack/xl.pm b/Osstest/Toolstack/xl.pm
index 23328d3..3c3d348 100644
--- a/Osstest/Toolstack/xl.pm
+++ b/Osstest/Toolstack/xl.pm
@@ -29,6 +29,7 @@ sub new {
                   NewDaemons => [],
                   Dom0MemFixed => 1,
                   _Command => 'xl',
+                  _VerboseCommand => 'xl -vvv',
                   RestoreNeedsConfig => 1,
     }, $class;
 }
@@ -42,7 +43,7 @@ sub destroy ($$) {
 sub create ($$) {
     my ($self,$gho) = @_;
     my $cfg = $gho->{CfgPath};
-    target_cmd_root($self->{Host}, $self->{_Command}." create $cfg", 100);
+    target_cmd_root($self->{Host}, $self->{_VerboseCommand}." create $cfg", 
100);
 }
 
 sub consolecmd ($$) {
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.