ACPI: Add Virtual Machine Generation ID support
commitd03637bcfbc1ba0cf1f07568d379af6e80120474
authorBen Warren <ben@skyportsystems.com>
Thu, 16 Feb 2017 23:15:36 +0000 (16 15:15 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Mar 2017 05:14:27 +0000 (2 07:14 +0200)
tree950ab22a9a9b94ff2c1807421fbd2e5a50a1727d
parentc7809e6cd76dec99baf82100ff2041833df5146f
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>
default-configs/i386-softmmu.mak
default-configs/x86_64-softmmu.mak
hw/acpi/Makefile.objs
hw/acpi/vmgenid.c [new file with mode: 0644]
hw/i386/acpi-build.c
include/hw/acpi/acpi_dev_interface.h
include/hw/acpi/vmgenid.h [new file with mode: 0644]