summaryrefslogtreecommitdiff
path: root/drivers/hv/hv_snapshot.c
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2020-01-25 21:49:43 -0800
committerSasha Levin <sashal@kernel.org>2020-01-26 22:10:16 -0500
commitffd1d4a49336b7f0078f45332fa4b93d25720f6c (patch)
tree1fddb74c77387737e89fc5d44e74c44e570d28ed /drivers/hv/hv_snapshot.c
parent3e9c72056ed5618bef253f602e79dd2312a0d8a5 (diff)
downloadlwn-ffd1d4a49336b7f0078f45332fa4b93d25720f6c.tar.gz
lwn-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_snapshot.c')
0 files changed, 0 insertions, 0 deletions