aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2020-01-25 21:49:42 -0800
committerSasha Levin <[email protected]>2020-01-26 22:10:16 -0500
commit3e9c72056ed5618bef253f602e79dd2312a0d8a5 (patch)
treee6ea3d7d219f8a57eedfd67e83c4bdf4af6291eb /scripts/gcc-plugins/sancov_plugin.c
parent9fc3c01a1fae669a2ef9f13ee1e1a26e057d79f8 (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 <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions