No functional change with existing host properties.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 Osstest/PDU/msw.pm |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Osstest/PDU/msw.pm b/Osstest/PDU/msw.pm
index 40a2970..c159cc3 100644
--- a/Osstest/PDU/msw.pm
+++ b/Osstest/PDU/msw.pm
@@ -34,14 +34,15 @@ BEGIN {
 }
 
 sub new {
-    my ($class, $ho, $methname,$pdu,$port) = @_;
-    return bless { Pdu => $pdu, Port => $port }, $class;
+    my ($class, $ho, $methname, @args) = @_;
+
+    return bless { Args => \@args }, $class;
 }
 
 sub pdu_power_state {
     my ($mo, $on) = @_;
     my $onoff= $on ? "on" : "off";
-    system_checked("./pdu-msw $mo->{Pdu} $mo->{Port} $onoff");
+    system_checked("./pdu-msw @{ $mo->{Args} } $onoff");
 }
 
 1;
-- 
1.7.10.4


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

Reply via email to