diff options
| author | Dexuan Cui <decui@microsoft.com> | 2020-01-07 01:40:44 +0300 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2020-01-26 00:52:11 +0300 |
| commit | e2379b30324ca5ba808f16cb3d2504349264912f (patch) | |
| tree | f522ac9685fccc52077293127330f6a43c396dff /fs/jbd2/commit.c | |
| parent | d33c240d47dab4fd15123d9e73fc8810cbc6ed6a (diff) | |
| download | linux-e2379b30324ca5ba808f16cb3d2504349264912f.tar.xz | |
Input: hyperv-keyboard: Add the support of hibernation
Add suspend() and resume() functions so the Hyper-V virtual keyboard
can participate in VM hibernation.
Note that the keyboard is a "wakeup" device that could abort an in-progress
hibernation if there is keyboard event. No attempt is made to suppress this
behavior. If desired, a sysadmin can disable the keyboard as a wakeup device
using standard mechanisms such as:
echo disabled > /sys/bus/vmbus/drivers/hyperv_keyboard/XXX/power/wakeup
(where XXX is the device's GUID)
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
