diff options
| author | Ben Warren <ben@skyportsystems.com> | 2017-02-16 15:15:36 -0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2017-03-02 07:14:27 +0200 |
| commit | d03637bcfbc1ba0cf1f07568d379af6e80120474 (patch) | |
| tree | 950ab22a9a9b94ff2c1807421fbd2e5a50a1727d /include/hw/acpi/acpi_dev_interface.h | |
| parent | c7809e6cd76dec99baf82100ff2041833df5146f (diff) | |
| download | focaccia-qemu-d03637bcfbc1ba0cf1f07568d379af6e80120474.tar.gz focaccia-qemu-d03637bcfbc1ba0cf1f07568d379af6e80120474.zip | |
ACPI: Add Virtual Machine Generation ID support
This implements the VM Generation ID feature by passing a 128-bit GUID to the guest via a fw_cfg blob. Any time the GUID changes, an ACPI notify event is sent to the guest The user interface is a simple device with one parameter: - guid (string, must be "auto" or in UUID format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) Signed-off-by: Ben Warren <ben@skyportsystems.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi/acpi_dev_interface.h')
| -rw-r--r-- | include/hw/acpi/acpi_dev_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/acpi_dev_interface.h b/include/hw/acpi/acpi_dev_interface.h index 71d3c48e7d..3c2e4e95a5 100644 --- a/include/hw/acpi/acpi_dev_interface.h +++ b/include/hw/acpi/acpi_dev_interface.h @@ -11,6 +11,7 @@ typedef enum { ACPI_CPU_HOTPLUG_STATUS = 4, ACPI_MEMORY_HOTPLUG_STATUS = 8, ACPI_NVDIMM_HOTPLUG_STATUS = 16, + ACPI_VMGENID_CHANGE_STATUS = 32, } AcpiEventStatusBits; #define TYPE_ACPI_DEVICE_IF "acpi-device-interface" |