From: Ben Warren <b...@skyportsystems.com> This patch set adds support for passing a GUID to Windows guests. It is a re-implementation of previous patch sets written by Igor Mammedov et al, but this time passing the GUID data as a fw_cfg blob.
This is not yet fully functional because the data in the fw_cfg blob is immutable, so that any changes via the monitor are not seen by the guest. When that hurdle is passed, unit tests that work will be added. v1->v2: Removed "changed" boolean parameter as it is unneeded Added ACPI Notify logic Style changes to pass checkpatch.pl Added support for dynamic sysbus to pc_piix boards Ben Warren (4): docs: vm generation id device's description ACPI: Add a function for building named qword entries ACPI: Add Virtual Machine Generation ID support PC: Support dynamic sysbus on pc_i440fx Igor Mammedov (2): qmp/hmp: add query-vm-generation-id and 'info vm-generation-id' commands qmp/hmp: add set-vm-generation-id commands default-configs/i386-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + docs/specs/vmgenid.txt | 38 +++++++ hmp-commands-info.hx | 13 +++ hmp-commands.hx | 13 +++ hmp.c | 21 ++++ hmp.h | 2 + hw/acpi/Makefile.objs | 1 + hw/acpi/aml-build.c | 28 +++++ hw/acpi/vmgenid.c | 208 +++++++++++++++++++++++++++++++++++++ hw/i386/acpi-build.c | 5 + hw/i386/pc_piix.c | 1 + hw/misc/Makefile.objs | 1 + include/hw/acpi/aml-build.h | 4 + include/hw/acpi/vmgenid.h | 24 +++++ qapi-schema.json | 32 ++++++ stubs/Makefile.objs | 1 + stubs/vmgenid.c | 14 +++ 18 files changed, 408 insertions(+) create mode 100644 docs/specs/vmgenid.txt create mode 100644 hw/acpi/vmgenid.c create mode 100644 include/hw/acpi/vmgenid.h create mode 100644 stubs/vmgenid.c -- 2.7.4