From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y04kp-0004SB-1w for qemu-devel@nongnu.org; Sun, 14 Dec 2014 03:42:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y04kf-0001h6-NN for qemu-devel@nongnu.org; Sun, 14 Dec 2014 03:42:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y04kf-0001h0-F1 for qemu-devel@nongnu.org; Sun, 14 Dec 2014 03:42:05 -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 sBE8g3kP027646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sun, 14 Dec 2014 03:42:04 -0500 From: Gal Hammer Date: Sun, 14 Dec 2014 10:41:48 +0200 Message-Id: <1418546511-13063-1-git-send-email-ghammer@redhat.com> Subject: [Qemu-devel] [PATCH V10 0/3] Virtual Machine Generation ID List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gal Hammer , mst@redhat.com Hi, Resending patches after the release of version 2.2. Please note that this patch set doesn't include the *.hex.generated files and the binary ACPI tables (make check will fail). Thanks, Gal. VX - Fixed typos in docs and a few clarification. V9 - Add a unit test. - Rebased to version 2.2. - Removed hex.generated the binary files from patch. V8 - Add a device's description file. - GUID is stored in fw cfg file and the guest writes the physical address to the device (reduces vmexits). V7 - 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. V6 - include the pre-compiled ASL file - remove an empty line at end of files. V5 - Move device's description to SSDT table (dynamic). V4 - Fix a typo in error message string. - Move device's description from DSDT back to SSDT table. V3 - Remove "-uuid" command line parameter. - Move device's description from SSDT to DSDT table. - Add new "vmgenid" sysbus device. Gal Hammer (3): docs: vm generation id device's description i386: 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/vmgenid.txt | 38 ++++++++++++++++++++++++++++ hw/acpi/core.c | 8 ++++++ hw/acpi/ich9.c | 8 ++++++ hw/acpi/piix4.c | 8 ++++++ hw/i386/acpi-build.c | 26 +++++++++++++++++++ hw/i386/acpi-dsdt.dsl | 4 ++- hw/i386/pc.c | 8 ++++++ hw/i386/q35-acpi-dsdt.dsl | 5 +++- hw/i386/ssdt-misc.dsl | 43 ++++++++++++++++++++++++++++++++ hw/isa/lpc_ich9.c | 1 + hw/misc/Makefile.objs | 1 + 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 +++ tests/Makefile | 2 ++ tests/vmgenid-test.c | 48 ++++++++++++++++++++++++++++++++++++ 19 files changed, 211 insertions(+), 2 deletions(-) create mode 100644 docs/specs/vmgenid.txt create mode 100644 tests/vmgenid-test.c -- 1.9.3