From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XT3GF-0008LB-4J for qemu-devel@nongnu.org; Sun, 14 Sep 2014 02:26:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XT3G9-0005Eq-MQ for qemu-devel@nongnu.org; Sun, 14 Sep 2014 02:26:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XT3G9-0005Ej-FV for qemu-devel@nongnu.org; Sun, 14 Sep 2014 02:26:05 -0400 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 s8E6Q3H1027354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sun, 14 Sep 2014 02:26:04 -0400 From: Gal Hammer Date: Sun, 14 Sep 2014 09:25:47 +0300 Message-Id: <1410675949-1437-1-git-send-email-ghammer@redhat.com> Subject: [Qemu-devel] [PATCH RESEND 0/2 V2] 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, armbru@redhat.com 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. V2: - Remove "-uuid" command line parameter. - Move device's description from SSDT to DDST 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/acpi-build.c | 23 ++++++++++- hw/i386/acpi-dsdt.dsl | 37 +++++++++++++++++ hw/misc/Makefile.objs | 1 + hw/misc/vmgenid.c | 85 ++++++++++++++++++++++++++++++++++++++ include/hw/i386/pc.h | 3 ++ scripts/acpi_extract.py | 23 +++++++---- 8 files changed, 163 insertions(+), 11 deletions(-) create mode 100644 hw/misc/vmgenid.c -- 1.9.3