qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/6] Add support for VM Generation ID
@ 2017-01-23  7:32 ben
  2017-01-23  7:32 ` [Qemu-devel] [PATCH v3 1/6] ACPI: Add a function for building named qword entries ben
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ben @ 2017-01-23  7:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: Ben Warren

From: Ben Warren <ben@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 patch set has dependencies on new guest functionality, in particular the
support for a new linker-loader command and the ability to write back data
to QEMU over a DMA link.  Work is in flight in both SeaBIOS and OVMF to support this.

v2->v3:
    - Added second writeable fw_cfg for storing the VM Generaiton ID
      address.  This uses a new linker-loader command for instructing the
      guest to write back the allocated address.  A patch for SeaBIOS has been
      submitted (https://www.seabios.org/pipermail/seabios/2017-January/011079.html)
      and the resulting binary will need to be pulled into QEMU once accepted.
    - Setting VM Generation ID by command line or qmp/hmp now accepts an "auto"
      value, whereby QEMU generates a random GUID.
    - Incorporated review comments from v2 mainly around code styling and AML syntax
    - Changed to use the E05 ACPI event instead of E00
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):
  ACPI: Add a function for building named qword entries
  linker-loader: add new 'allocate and return address' cmd
  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 +
 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/bios-linker-loader.c         |  71 +++++++++++-
 hw/acpi/vmgenid.c                    | 214 +++++++++++++++++++++++++++++++++++
 hw/i386/acpi-build.c                 |   9 ++
 hw/i386/pc_piix.c                    |   1 +
 include/hw/acpi/acpi_dev_interface.h |   1 +
 include/hw/acpi/aml-build.h          |   4 +
 include/hw/acpi/bios-linker-loader.h |   7 ++
 include/hw/acpi/vmgenid.h            |  32 ++++++
 qapi-schema.json                     |  31 +++++
 stubs/Makefile.objs                  |   1 +
 stubs/vmgenid.c                      |  14 +++
 19 files changed, 462 insertions(+), 3 deletions(-)
 create mode 100644 hw/acpi/vmgenid.c
 create mode 100644 include/hw/acpi/vmgenid.h
 create mode 100644 stubs/vmgenid.c

-- 
2.10.1 (Apple Git-78)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-23  7:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-23  7:32 [Qemu-devel] [PATCH v3 0/6] Add support for VM Generation ID ben
2017-01-23  7:32 ` [Qemu-devel] [PATCH v3 1/6] ACPI: Add a function for building named qword entries ben
2017-01-23  7:32 ` [Qemu-devel] [PATCH v3 2/6] linker-loader: add new 'allocate and return address' cmd ben
2017-01-23  7:32 ` [Qemu-devel] [PATCH v3 3/6] ACPI: Add Virtual Machine Generation ID support ben
2017-01-23  7:32 ` [Qemu-devel] [PATCH v3 4/6] qmp/hmp: add query-vm-generation-id and 'info vm-generation-id' commands ben
2017-01-23  7:32 ` [Qemu-devel] [PATCH v3 5/6] qmp/hmp: add set-vm-generation-id commands ben
2017-01-23  7:32 ` [Qemu-devel] [PATCH v3 6/6] PC: Support dynamic sysbus on pc_i440fx ben

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).