Staging: hv: util: Forcefully shutdown when shutdown is requested
When the host requests a "shutdown", make sure we shutdown! Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
70691ec666
commit
ae2a0b42bf
@ -89,7 +89,7 @@ static void shutdown_onchannelcallback(void *context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (execute_shutdown == true)
|
if (execute_shutdown == true)
|
||||||
orderly_poweroff(false);
|
orderly_poweroff(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user