From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSqRC-0005nD-Ss for qemu-devel@nongnu.org; Tue, 03 Mar 2015 12:16:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSqR9-0001uL-DF for qemu-devel@nongnu.org; Tue, 03 Mar 2015 12:16:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSqR9-0001u5-5q for qemu-devel@nongnu.org; Tue, 03 Mar 2015 12:16:51 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t23HGoTJ022461 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 3 Mar 2015 12:16:50 -0500 From: Igor Mammedov Date: Tue, 3 Mar 2015 17:18:12 +0100 Message-Id: <1425399495-13664-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH V14 0/3] Virtual Machine Generation ID List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ghammer@redhat.com, mst@redhat.com Changes since v13: * fix comment style to /*... */ in testcase * make BAR TARGET_PAGE_SIZE as required by spec * make BAR prefetchable, spec also says that it shouldn't be marked as non cached * ACPI part * merge separate VGID device with PCI device description * mark device as not shown in UI, it hides "VM Generation ID" device from device manager and leaves only "PCI Standard RAM Controller" device there Note to maintainer: this patch set doesn't include the *.hex.generated files and updated test ACPI tables blobs. Hex files for [q35-]acpi-dsdt should be updated. Tested with WS2012R2DCx64, thanks Gal for providing test utilities. Based on top of mst's PCI tree. Git branch: https://github.com/imammedo/qemu.git vmgenid_v14 Gal Hammer (1): docs: vm generation id device's description Igor Mammedov (2): pc: add a Virtual Machine Generation ID device tests: add a unit test for the vmgenid device. default-configs/i386-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + docs/specs/pci-ids.txt | 1 + docs/specs/vmgenid.txt | 36 ++++++++++ hw/i386/acpi-build.c | 69 +++++++++++++++++-- hw/i386/acpi-dsdt.dsl | 2 - hw/i386/q35-acpi-dsdt.dsl | 2 - hw/misc/Makefile.objs | 1 + hw/misc/vmgenid.c | 134 +++++++++++++++++++++++++++++++++++++ include/hw/acpi/acpi.h | 1 + include/hw/misc/vmgenid.h | 21 ++++++ include/hw/pci/pci.h | 1 + tests/Makefile | 2 + tests/vmgenid-test.c | 92 +++++++++++++++++++++++++ 14 files changed, 356 insertions(+), 8 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 tests/vmgenid-test.c -- 2.1.0