diff options
author | 2020-01-25 21:49:42 -0800 | |
---|---|---|
committer | 2020-01-26 22:10:16 -0500 | |
commit | 3e9c72056ed5618bef253f602e79dd2312a0d8a5 (patch) | |
tree | e6ea3d7d219f8a57eedfd67e83c4bdf4af6291eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Tools: hv: Reopen the devices if read() or write() returns errors (diff) | |
download | linux-dev-3e9c72056ed5618bef253f602e79dd2312a0d8a5.tar.xz linux-dev-3e9c72056ed5618bef253f602e79dd2312a0d8a5.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions