From: Igor Mammedov <imammedo@redhat.com>
To: qemu-devel@nongnu.org
Cc: ehabkost@redhat.com, mst@redhat.com, ghammer@redhat.com,
lersek@redhat.com, lcapitulino@redhat.com
Subject: [Qemu-devel] [PATCH v19 0/9] Virtual Machine Generation ID
Date: Thu, 28 Jan 2016 11:54:22 +0100 [thread overview]
Message-ID: <1453978470-222624-1-git-send-email-imammedo@redhat.com> (raw)
Changes since v18:
- drop MachineClass->default_props approach and make
setting compat_props to work incrementaly which
allows to use it for default properties as well and
reduces data duplication as result of removing
nesting in [PC|SPAPR]_COMPAT_* macroses.
Changes since v17:
- make BAR prefetchable to meet cached req of MS spec
- rename UUID/uuid to GUID/guid across series to match spec
- qmp: add new GuidInfo type and use it instead of UuidInfo
- tests: fail if test is timed out when waitng for address
Changes since v14:
- statically reserve used BAR resources in SSDT, so
that Windows won't claim them during PCI rebalancing
- support VGID page in high mem in addition to low mem
- add QMP/HMP interfaces to get/set VM Generation ID
- do not consume a PCI slot by default and attach
vmgenid device as a function of multifuction
ISA bridge.
- allow only one vmgenid device instance
It's respin of v14* series which uses a PCI BAR to map
VGID page in guest AS.
Tested with WS2012R2x64, older Windows versions which don't
support vmgenid boot fine but show unknown device
which is expected.
Git tree for testing:
https://github.com/imammedo/qemu.git vmgenid_v19
* v14, https://lists.gnu.org/archive/html/qemu-devel/2015-03/msg00530.html
Gal Hammer (1):
docs: vm generation id device's description
Igor Mammedov (8):
acpi: extend ACPI interface to provide access to ACPI registers and
SCI irq
pc: add a Virtual Machine Generation ID device
tests: add a unit test for the vmgenid device.
qmp/hmp: add query-vm-generation-id and 'info vm-generation-id'
commands
qmp/hmp: add set-vm-generation-id commands
machine: add properties to compat_props incrementaly
pc: put PIIX3 in slot 1 explicitly and cleanup functions assignment
pc/q53: by default put vmgenid device as an function of ISA bridge
default-configs/i386-softmmu.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
docs/specs/pci-ids.txt | 1 +
docs/specs/vmgenid.txt | 36 +++++++
hmp-commands-info.hx | 13 +++
hmp-commands.hx | 13 +++
hmp.c | 21 ++++
hmp.h | 2 +
hw/acpi/piix4.c | 17 ++++
hw/core/machine.c | 10 ++
hw/i386/acpi-build.c | 56 ++++++++++-
hw/i386/pc_piix.c | 27 +++--
hw/i386/pc_q35.c | 9 ++
hw/isa/lpc_ich9.c | 16 +++
hw/isa/vt82c686.c | 19 ++++
hw/misc/Makefile.objs | 1 +
hw/misc/vmgenid.c | 185 +++++++++++++++++++++++++++++++++++
hw/pci-host/piix.c | 9 +-
hw/ppc/spapr.c | 3 -
hw/s390x/s390-virtio-ccw.c | 12 +--
include/hw/acpi/acpi.h | 1 +
include/hw/acpi/acpi_dev_interface.h | 9 ++
include/hw/boards.h | 11 ++-
include/hw/i386/ich9.h | 3 +-
include/hw/i386/pc.h | 18 ++--
include/hw/misc/vmgenid.h | 27 +++++
include/hw/pci/pci.h | 1 +
qapi-schema.json | 31 ++++++
qmp-commands.hx | 41 ++++++++
stubs/Makefile.objs | 1 +
stubs/vmgenid.c | 13 +++
tests/Makefile | 2 +
tests/vmgenid-test.c | 93 ++++++++++++++++++
vl.c | 6 +-
34 files changed, 668 insertions(+), 41 deletions(-)
create mode 100644 docs/specs/vmgenid.txt
create mode 100644 hw/misc/vmgenid.c
create mode 100644 include/hw/misc/vmgenid.h
create mode 100644 stubs/vmgenid.c
create mode 100644 tests/vmgenid-test.c
--
1.8.3.1
next reply other threads:[~2016-01-28 10:54 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 10:54 Igor Mammedov [this message]
2016-01-28 10:54 ` [Qemu-devel] [PATCH v19 1/9] acpi: extend ACPI interface to provide access to ACPI registers and SCI irq Igor Mammedov
2016-01-28 10:54 ` [Qemu-devel] [PATCH v19 2/9] docs: vm generation id device's description Igor Mammedov
2016-01-28 10:54 ` [Qemu-devel] [PATCH v19 3/9] pc: add a Virtual Machine Generation ID device Igor Mammedov
2016-01-28 11:13 ` Michael S. Tsirkin
2016-01-28 12:03 ` Igor Mammedov
2016-01-28 12:59 ` Michael S. Tsirkin
2016-01-29 11:13 ` Igor Mammedov
2016-01-31 16:22 ` Michael S. Tsirkin
2016-02-02 9:59 ` Igor Mammedov
2016-02-02 11:16 ` Michael S. Tsirkin
2016-02-09 10:46 ` Igor Mammedov
2016-02-09 12:17 ` Michael S. Tsirkin
2016-02-11 15:16 ` Igor Mammedov
2016-02-11 16:30 ` Michael S. Tsirkin
2016-02-11 17:34 ` Marcel Apfelbaum
2016-02-12 6:15 ` Michael S. Tsirkin
2016-02-15 10:30 ` Igor Mammedov
2016-02-15 11:26 ` Michael S. Tsirkin
2016-02-15 13:56 ` Igor Mammedov
2016-02-16 10:05 ` Marcel Apfelbaum
2016-02-16 12:17 ` Igor Mammedov
2016-02-16 12:36 ` Marcel Apfelbaum
2016-02-16 13:51 ` Igor Mammedov
2016-02-16 14:53 ` Michael S. Tsirkin
2016-02-16 15:10 ` Michael S. Tsirkin
2016-02-10 8:51 ` Michael S. Tsirkin
2016-02-10 9:28 ` Michael S. Tsirkin
2016-02-10 10:00 ` Laszlo Ersek
2016-01-28 13:48 ` Laszlo Ersek
2016-01-28 10:54 ` [Qemu-devel] [PATCH v19 4/9] tests: add a unit test for the vmgenid device Igor Mammedov
2016-01-28 10:54 ` [Qemu-devel] [PATCH v19 5/9] qmp/hmp: add query-vm-generation-id and 'info vm-generation-id' commands Igor Mammedov
2016-02-09 17:31 ` Eric Blake
2016-01-28 10:54 ` [Qemu-devel] [PATCH v19 6/9] qmp/hmp: add set-vm-generation-id commands Igor Mammedov
2016-02-09 17:33 ` Eric Blake
2016-01-28 10:54 ` [Qemu-devel] [PATCH v19 8/9] pc: put PIIX3 in slot 1 explicitly and cleanup functions assignment Igor Mammedov
2016-01-28 10:54 ` [Qemu-devel] [PATCH v19 9/9] pc/q53: by default put vmgenid device as an function of ISA bridge Igor Mammedov
2016-01-28 10:58 ` [Qemu-devel] [PATCH v19 7/9] machine: add properties to compat_props incrementaly Igor Mammedov
2016-01-28 14:02 ` Eduardo Habkost
2016-01-28 17:00 ` Igor Mammedov
2016-02-03 17:55 ` [Qemu-devel] qdev & hw/core owner? (was Re: [PATCH v19 7/9] machine: add properties to compat_props incrementaly) Eduardo Habkost
2016-02-03 18:46 ` Laszlo Ersek
2016-02-03 19:06 ` Michael S. Tsirkin
2016-02-04 11:31 ` Paolo Bonzini
2016-02-04 11:41 ` Andreas Färber
2016-02-04 11:55 ` Paolo Bonzini
2016-02-04 12:06 ` Michael S. Tsirkin
2016-02-05 7:49 ` Markus Armbruster
2016-02-05 7:51 ` Marcel Apfelbaum
2016-02-11 19:41 ` Eduardo Habkost
2016-02-12 9:17 ` Marcel Apfelbaum
2016-02-12 11:22 ` Andreas Färber
2016-02-12 18:17 ` Eduardo Habkost
2016-02-12 22:30 ` Paolo Bonzini
2016-02-12 18:09 ` Eduardo Habkost
2016-02-05 7:52 ` Markus Armbruster
2016-02-04 12:03 ` Michael S. Tsirkin
2016-02-04 12:12 ` Marcel Apfelbaum
2016-01-29 12:51 ` [Qemu-devel] [PATCH v19 7/9] machine: add properties to compat_props incrementaly Cornelia Huck
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=1453978470-222624-1-git-send-email-imammedo@redhat.com \
--to=imammedo@redhat.com \
--cc=ehabkost@redhat.com \
--cc=ghammer@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=lersek@redhat.com \
--cc=mst@redhat.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).