diff options
author | Dexuan Cui <decui@microsoft.com> | 2020-01-25 21:49:42 -0800 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2020-01-26 22:10:16 -0500 |
commit | 3e9c72056ed5618bef253f602e79dd2312a0d8a5 (patch) | |
tree | e6ea3d7d219f8a57eedfd67e83c4bdf4af6291eb /include | |
parent | 9fc3c01a1fae669a2ef9f13ee1e1a26e057d79f8 (diff) |
hv_utils: Support host-initiated restart request
The hv_utils driver currently supports a "shutdown" operation initiated
from the Hyper-V host. Newer versions of Hyper-V also support a "restart"
operation. So add support for the updated protocol version that has
"restart" support, and perform a clean reboot when such a message is
received from Hyper-V.
To test the restart functionality, run this PowerShell command on the
Hyper-V host:
Restart-VM <vmname> -Type Reboot
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions