From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfqlr-0007io-2R for qemu-devel@nongnu.org; Sun, 19 Oct 2014 09:43:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xfqlk-0003Ly-Uj for qemu-devel@nongnu.org; Sun, 19 Oct 2014 09:43:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfqlk-0003Lm-N8 for qemu-devel@nongnu.org; Sun, 19 Oct 2014 09:43:36 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9JDhZUW025218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sun, 19 Oct 2014 09:43:35 -0400 From: Gal Hammer Date: Sun, 19 Oct 2014 16:43:06 +0300 Message-Id: <1413726188-29285-1-git-send-email-ghammer@redhat.com> Subject: [Qemu-devel] [PATCH V6 0/2] Virtual Machine Generation ID List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gal Hammer , pbonzini@redhat.com, mst@redhat.com Hi, A two parts patch to add a QEmu support for Microsoft's Virtual Machine Generation ID device. The first one is the ACPI tables changes and the actual device and the second patch updates the tests' ACPI tables. Your comment are welcomed. Thanks, Gal. V6 - Move the device's description back to the static SSDT table. - The GUID is store in a "hard coded" physical address and not in the ACPI table itself. - ACPI notification is triggered when the GUID is changed. V5 - include the pre-compiled ASL file - remove an empty line at end of files. V4 - Move device's description to SSDT table (dynamic). V3 - Fix a typo in error message string. - Move device's description from DSDT back to SSDT table. V2 - Remove "-uuid" command line parameter. - Move device's description from SSDT to DSDT table. - Add new "vmgenid" sysbus device. Gal Hammer (2): i386: Add a Virtual Machine Generation ID device tests: update acpi tables after adding the vmgenid device default-configs/i386-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + hw/acpi/core.c | 8 +++ hw/acpi/ich9.c | 8 +++ hw/acpi/piix4.c | 8 +++ hw/i386/acpi-build.c | 8 +++ hw/i386/acpi-dsdt.dsl | 4 +- hw/i386/acpi-dsdt.hex.generated | 6 +- hw/i386/pc.c | 8 +++ hw/i386/q35-acpi-dsdt.dsl | 5 +- hw/i386/q35-acpi-dsdt.hex.generated | 8 +-- hw/i386/ssdt-misc.dsl | 36 +++++++++++ hw/i386/ssdt-misc.hex.generated | 8 +-- hw/isa/lpc_ich9.c | 1 + hw/misc/Makefile.objs | 1 + hw/misc/vmgenid.c | 116 +++++++++++++++++++++++++++++++++++ include/hw/acpi/acpi.h | 2 + include/hw/acpi/acpi_dev_interface.h | 4 ++ include/hw/acpi/ich9.h | 2 + include/hw/i386/pc.h | 3 + include/hw/misc/vmgenid.h | 21 +++++++ tests/acpi-test-data/pc/DSDT | Bin 2807 -> 2820 bytes tests/acpi-test-data/pc/SSDT | Bin 3065 -> 3239 bytes tests/acpi-test-data/q35/DSDT | Bin 7397 -> 7410 bytes tests/acpi-test-data/q35/SSDT | Bin 1346 -> 1520 bytes 25 files changed, 246 insertions(+), 13 deletions(-) create mode 100644 hw/misc/vmgenid.c create mode 100644 include/hw/misc/vmgenid.h -- 1.9.3