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(-) -- 2.34.1
