summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_kvp.c
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2020-01-26 06:49:43 +0100
committerSasha Levin <sashal@kernel.org>2020-01-27 04:10:16 +0100
commitffd1d4a49336b7f0078f45332fa4b93d25720f6c (patch)
tree1fddb74c77387737e89fc5d44e74c44e570d28ed /drivers/hv/hv_kvp.c
parenthv_utils: Support host-initiated restart request (diff)
downloadlinux-ffd1d4a49336b7f0078f45332fa4b93d25720f6c.tar.xz
linux-ffd1d4a49336b7f0078f45332fa4b93d25720f6c.zip
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 <decui@microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hv/hv_kvp.c')
0 files changed, 0 insertions, 0 deletions