Commit ae2a0b42 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: util: Forcefully shutdown when shutdown is requested

When the host requests a "shutdown", make sure we shutdown!
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 70691ec6
...@@ -89,7 +89,7 @@ static void shutdown_onchannelcallback(void *context) ...@@ -89,7 +89,7 @@ static void shutdown_onchannelcallback(void *context)
} }
if (execute_shutdown == true) if (execute_shutdown == true)
orderly_poweroff(false); orderly_poweroff(true);
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment