diff options
author | Dexuan Cui <[email protected]> | 2020-01-25 21:49:43 -0800 |
---|---|---|
committer | Sasha Levin <[email protected]> | 2020-01-26 22:10:16 -0500 |
commit | ffd1d4a49336b7f0078f45332fa4b93d25720f6c (patch) | |
tree | 1fddb74c77387737e89fc5d44e74c44e570d28ed /scripts/gcc-plugins/latent_entropy_plugin.c | |
parent | 3e9c72056ed5618bef253f602e79dd2312a0d8a5 (diff) |
hv_utils: Support host-initiated hibernation request
Update the Shutdown IC version to 3.2, which is required for the host to
send the hibernation request.
The user is expected to create the below udev rule file, which is applied
upon the host-initiated hibernation request:
root@localhost:~# cat /usr/lib/udev/rules.d/40-vm-hibernation.rules
SUBSYSTEM=="vmbus", ACTION=="change", DRIVER=="hv_utils", ENV{EVENT}=="hibernate", RUN+="/usr/bin/systemctl hibernate"
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/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions