Delayed reboots use EPOW, which does not always result in a shutdown of
the LPAR. Use the more sever immediate shutdown, to ensure the LPAR goes
down. This matches the HMC code.

Signed-off-by: Nishanth Aravamudan <[email protected]>

diff --git a/conmux/drivers/ivm b/conmux/drivers/ivm
index c134c7a..29c749c 100755
--- a/conmux/drivers/ivm
+++ b/conmux/drivers/ivm
@@ -316,7 +316,7 @@ if {$version < 3} {
                # See if the lpar is up, if so shut it down.
                if {[string compare [state $lpar] "Ready"] != 0} {
                        note "shutting down lpar"
-                       if {[runit "chsysstate -r lpar -n $lpar -o shutdown\r" 
out] != 0} {
+                       if {[runit "chsysstate -r lpar -n $lpar -o shutdown 
--immed\r" out] != 0} {
                                winge "$lpar: power off failed\n$out"
                                exit 2
                        }

-- 
Nishanth Aravamudan <[email protected]>
IBM Linux Technology Center

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to