From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUDwD-0000yt-9u for qemu-devel@nongnu.org; Wed, 17 Sep 2014 08:02:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUDw3-0000mJ-Sy for qemu-devel@nongnu.org; Wed, 17 Sep 2014 08:02:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUDw3-0000m8-Lk for qemu-devel@nongnu.org; Wed, 17 Sep 2014 08:02:11 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8HBe3wZ016149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 17 Sep 2014 07:40:04 -0400 From: Gal Hammer Date: Wed, 17 Sep 2014 14:39:50 +0300 Message-Id: <1410953992-14542-1-git-send-email-ghammer@redhat.com> Subject: [Qemu-devel] [PATCH 0/2 V5] Virtual Machine Generation ID List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gal Hammer , Paolo Bonzini , Igor Mammedov Hi, A two parts patch to add a QEmu support for Microsoft's Virtual Machine Generation ID device. The first one add a new ACPI directive which allow to use a 16-bytes buffer in an ACPI table. This buffer is for storing the VM's UUID. The second is the ACPI tables changes and the actual device. Your comment are welcomed. Thanks, Gal. V5: - include the pre-compiled ASL file - remove an empty line at end of files. V4: - Move device's description to SSDT table (dynamic build). 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 an ACPI_EXTRACT_NAME_BUFFER16 directive. i386: Add a Virtual Machine Generation ID device. default-configs/i386-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + hw/i386/Makefile.objs | 2 +- hw/i386/acpi-build.c | 39 +++++++ hw/i386/ssdt-vmgenid.dsl | 63 ++++++++++++ hw/i386/ssdt-vmgenid.hex.generated | 206 +++++++++++++++++++++++++++++++++++++ hw/misc/Makefile.objs | 1 + hw/misc/vmgenid.c | 84 +++++++++++++++ include/hw/i386/pc.h | 3 + scripts/acpi_extract.py | 23 +++-- 10 files changed, 413 insertions(+), 10 deletions(-) create mode 100644 hw/i386/ssdt-vmgenid.dsl create mode 100644 hw/i386/ssdt-vmgenid.hex.generated create mode 100644 hw/misc/vmgenid.c -- 1.9.3