[Tools] testbot/LibvirtTool: PowerOff() no longer takes a NoStatus parameter.

Francois Gouget fgouget at codeweavers.com
Mon Oct 23 09:35:13 CDT 2017


NoStatus=1 has been made the default so this is a no-op.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/LibvirtTool.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl
index 51f03b42..937821f6 100755
--- a/testbot/bin/LibvirtTool.pl
+++ b/testbot/bin/LibvirtTool.pl
@@ -280,7 +280,7 @@ sub Monitor()
     my $IsPoweredOn = $VM->GetDomain()->IsPoweredOn();
     if ($IsPoweredOn)
     {
-      my $ErrMessage = $VM->GetDomain()->PowerOff(1);
+      my $ErrMessage = $VM->GetDomain()->PowerOff();
       if (defined $ErrMessage)
       {
         Error "$ErrMessage\n";
-- 
2.14.2




More information about the wine-patches mailing list