Skip to content

RFC Enable PM hibernation on guest VMs

Anchal Agarwal linux-pm lkml netdev xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12xen/manage: keep track of the on-going suspend modedrivers/xen/manage.c+58 -02 replies
1/12xen/manage: keep track of the on-going suspend modedrivers/xen/manage.c+58 -00 replies
2/12xen/manage: introduce helper function to know the on-going suspend modedrivers/xen/manage.c include/xen/xen-ops.h+19 -02 replies
3/12xenbus: add freeze/thaw/restore callbacks supportdrivers/xen/xenbus/xenbus_probe.c include/xen/xenbus.h+89 -160 replies
4/12x86/xen: Introduce new function to map HYPERVISOR_shared_info on Resumearch/x86/xen/enlighten_hvm.c arch/x86/xen/xen-ops.h+8 -00 replies
5/12x86/xen: add system core suspend and resume callbacksarch/x86/xen/enlighten_hvm.c arch/x86/xen/suspend.c include/xen/xen-ops.h+56 -00 replies
6/12xen-blkfront: add callbacks for PM suspend and hibernationdrivers/block/xen-blkfront.c+151 -75 replies
7/12xen-netfront: add callbacks for PM suspend and hibernation supportdrivers/net/xen-netfront.c+96 -10 replies
8/12xen-time-introduce-xen_-save-restore-_steal_clockdrivers/xen/time.c include/xen/xen-ops.h+29 -10 replies
9/12x86/xen: save and restore steal clockarch/x86/xen/suspend.c arch/x86/xen/time.c+15 -10 replies
9/12x86/xen: save and restore steal clockarch/x86/xen/suspend.c arch/x86/xen/time.c+15 -10 replies
10/12xen/events: add xen_shutdown_pirqs helper functiondrivers/xen/events/events_base.c include/xen/events.h+13 -00 replies
10/12xen/events: add xen_shutdown_pirqs helper functiondrivers/xen/events/events_base.c include/xen/events.h+13 -00 replies
11/12x86/xen: close event channels for PIRQs in system core suspend callbackarch/x86/xen/suspend.c+2 -00 replies
11/12x86/xen: close event channels for PIRQs in system core suspend callbackarch/x86/xen/suspend.c+2 -00 replies
12/12PM / hibernate: update the resume offset on SNAPSHOT_SET_SWAP_AREAkernel/power/user.c+5 -14 replies

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchSebastian BiemuellerMunehisa KamataEduardo ValentinAlakesh Haloi
1/12R-b R-b R-b R-b R-b R-b
1/12R-b R-b R-b R-b R-b R-b
2/12R-b R-b R-b R-b
3/12R-b R-b
4/12R-b R-b R-b
5/12R-b R-b
6/12R-b R-b
7/12R-b R-b
8/12R-b R-b
9/12R-b R-b R-b R-b
9/12R-b R-b R-b R-b
10/12R-b R-b R-b R-b
10/12R-b R-b R-b R-b
11/12R-b R-b R-b R-b
11/12R-b R-b R-b R-b
12/12R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [RFC PATCH 00/12] Enable PM hibernation on guest VMs

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(-)
Signature · 7 lines
2.13.6


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel