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 has been tested to work with Windows 2012 R2. I consider it RFC quality since there are probably problems with the HMP implementation and no unit tests are included. Ben Warren (3): docs: vm generation id device's description ACPI: Add a function for building named qword entries ACPI: Add Virtual Machine Generation ID support 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 | 39 ++++++++ hmp-commands-info.hx | 13 +++ hmp-commands.hx | 13 +++ hmp.c | 22 +++++ hmp.h | 2 + hw/acpi/Makefile.objs | 1 + hw/acpi/aml-build.c | 28 ++++++ hw/acpi/vmgenid.c | 198 +++++++++++++++++++++++++++++++++++++ hw/i386/acpi-build.c | 5 + hw/misc/Makefile.objs | 1 + include/hw/acpi/aml-build.h | 4 + include/hw/acpi/vmgenid.h | 26 +++++ qapi-schema.json | 32 ++++++ stubs/Makefile.objs | 1 + stubs/vmgenid.c | 14 +++ 17 files changed, 401 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