From: ben@skyportsystems.com
To: qemu-devel@nongnu.org
Cc: Ben Warren <ben@skyportsystems.com>
Subject: [Qemu-devel] [PATCH v3 0/6] Add support for VM Generation ID
Date: Sun, 22 Jan 2017 23:32:46 -0800 [thread overview]
Message-ID: <cover.1485155611.git.ben@skyportsystems.com> (raw)
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)
next reply other threads:[~2017-01-23 7:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-23 7:32 ben [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1485155611.git.ben@skyportsystems.com \
--to=ben@skyportsystems.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).