]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
Toolstack: Do not pass -F to xm shutdown
authorIan Campbell <ian.campbell@citrix.com>
Mon, 1 Jun 2015 08:32:37 +0000 (09:32 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 1 Jun 2015 10:00:35 +0000 (11:00 +0100)
This is a feature of xl only.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Osstest/Toolstack/xl.pm

index dd12ae1b0dd9d831e5af0ea449fb89adacf7a6c6..23328d3d90b9ab2d39cb8d04401fa3c78c05077e 100644 (file)
@@ -56,7 +56,7 @@ sub shutdown_wait ($$$) {
     my $ho = $self->{Host};
     my $gn = $gho->{Name};
     my $acpi_fallback = guest_var($gho,'acpi_shutdown','false') eq 'true'
-       ? "F" : "";
+       && $self->{Name} eq 'xl' ? "F" : "";
     target_cmd_root($ho,"$self->{_Command} shutdown -w${acpi_fallback} $gn", $timeout);
 }