Skip to content

x86: notify hypervisor/VMM about guest entering s2idle

Grzegorz Jaszczyk kvm linux-acpi linux-doc linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86: notify hypervisor about guest entering s2idle stateDocumentation/virt/kvm/x86/hypercalls.rst arch/x86/kvm/x86.c drivers/acpi/x86/s2idle.c +3 more+24 -018 replies
2/2KVM: x86: notify user space about guest entering s2idleDocumentation/virt/kvm/api.rst arch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c +2 more+41 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] x86: notify hypervisor/VMM about guest entering s2idle

This patchset introduces support which allows to notify first the hypervisor about guest entering the s2idle state (patch #1) and second propagate this notification to user-space so the VMM can take advantage of such notification (patch #2).

Please see individual patches and commit logs for more verbose description.

Zide Chen (2):
x86: notify hypervisor about guest entering s2idle state
KVM: x86: notify user space about guest entering s2idle

 Documentation/virt/kvm/api.rst            | 21 +++++++++++++++++++++
 Documentation/virt/kvm/x86/hypercalls.rst |  7 +++++++
 arch/x86/include/asm/kvm_host.h           |  2 ++
 arch/x86/kvm/x86.c                        | 18 ++++++++++++++++++
 drivers/acpi/x86/s2idle.c                 |  8 ++++++++
 include/linux/suspend.h                   |  1 +
 include/uapi/linux/kvm.h                  |  2 ++
 include/uapi/linux/kvm_para.h             |  1 +
 kernel/power/suspend.c                    |  4 ++++
 tools/include/uapi/linux/kvm.h            |  1 +
 10 files changed, 65 insertions(+)
Signature · 1 line
2.36.1.476.g0c4daa206d-goog