Skip to content

RFC vmclock: add support for VM generation counter and notifications

Chalios, Babis qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4acpi: fix acpi_send_gpe_event() to handle more eventshw/acpi/core.c+7 -11 reply
2/4hw/acpi: add new fields in VMClock ABIinclude/standard-headers/linux/vmclock-abi.h+20 -09 replies
3/4hw/acpi: add VM generation counter field to VMClockhw/acpi/vmclock.c+13 -05 replies
4/4hw/acpi: add ACPI notification to VMClock devicehw/acpi/vmclock.c include/hw/acpi/acpi_dev_interface.h+16 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/4] vmclock: add support for VM generation counter and notifications

Latest specification of VMClock[1] adds support for VM generation counter and notifications. VM generation counter is similar to disruption_marker but it only changes when the guest has been loaded from a snapshot, not on live migration. Its purpose is to notify the guest about snapshot events and let it perform actions such as recreating UUIDs, resetting network connections, reseeding entropy, etc.

Moreover, the spec now describes a notification that the device can send after updating the seq counter to a new even number.

I have already sent the Linux changes to the mailing list here:
https://lore.kernel.org/lkml/[email protected]/T/#u

[1] https://david.woodhou.se/VMClock.pdf

Babis Chalios (4):
acpi: fix acpi_send_gpe_event() to handle more events hw/acpi: add new fields in VMClock ABI hw/acpi: add VM generation counter field to VMClock hw/acpi: add ACPI notification to VMClock device

 hw/acpi/core.c                               |  8 +++++-
 hw/acpi/vmclock.c                            | 28 +++++++++++++++++++-
 include/hw/acpi/acpi_dev_interface.h         |  1 +
 include/standard-headers/linux/vmclock-abi.h | 20 ++++++++++++++
 4 files changed, 55 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1