[RFC PATCH 00/12] Enable PM hibernation on guest VMs
From: Anchal Agarwal
Date: Tue Jun 12 2018 - 17:01:46 EST
Hello,
I am sending out a series of patches that implements guest
PM hibernation. These guests are running on xen hypervisor.
The patches had been tested against mainstream kernel and latest
xen version-4.11. EC2 instance hibernation feature is provided to
the AWS EC2 customers. PM hibernation uses swap space where
hibernation image is stored and restored from. I would like
the community to review and provide some feedback on the patch
series and if they look good, merge them into 4.17 kernel.
Aleksei Besogonov (1):
PM / hibernate: update the resume offset on SNAPSHOT_SET_SWAP_AREA
Anchal Agarwal (1):
x86/xen: Introduce new function to map HYPERVISOR_shared_info on
Resume
Munehisa Kamata (10):
xen/manage: keep track of the on-going suspend mode
xen/manage: introduce helper function to know the on-going suspend
mode
xenbus: add freeze/thaw/restore callbacks support
x86/xen: add system core suspend and resume callbacks
xen-blkfront: add callbacks for PM suspend and hibernation
xen-netfront: add callbacks for PM suspend and hibernation support
xen-time-introduce-xen_-save-restore-_steal_clock
x86/xen: save and restore steal clock
xen/events: add xen_shutdown_pirqs helper function
x86/xen: close event channels for PIRQs in system core suspend
callback
arch/x86/xen/enlighten_hvm.c | 8 ++
arch/x86/xen/suspend.c | 66 ++++++++++++++++
arch/x86/xen/time.c | 3 +
arch/x86/xen/xen-ops.h | 1 +
drivers/block/xen-blkfront.c | 158 ++++++++++++++++++++++++++++++++++++--
drivers/net/xen-netfront.c | 97 ++++++++++++++++++++++-
drivers/xen/events/events_base.c | 12 +++
drivers/xen/manage.c | 73 ++++++++++++++++++
drivers/xen/time.c | 28 ++++++-
drivers/xen/xenbus/xenbus_probe.c | 102 ++++++++++++++++++++----
include/xen/events.h | 1 +
include/xen/xen-ops.h | 8 ++
include/xen/xenbus.h | 3 +
kernel/power/user.c | 6 +-
14 files changed, 540 insertions(+), 26 deletions(-)
--
2.13.6