Received: from eggs.gnu.org ([2001:4830:134:3::10]:38726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQz4W-0004to-OH for qemu-devel@nongnu.org; Thu, 26 Feb 2015 09:05:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQz4R-0006Sr-Vg for qemu-devel@nongnu.org; Thu, 26 Feb 2015 09:05:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQz4R-0006SF-NX for qemu-devel@nongnu.org; Thu, 26 Feb 2015 09:05:43 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1QE5fbT000993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 26 Feb 2015 09:05:42 -0500 Date: Thu, 26 Feb 2015 15:05:34 +0100 From: Igor Mammedov Message-ID: <20150226150534.190ae1a6@nial.brq.redhat.com> In-Reply-To: <20150225195941.GA19765@redhat.com> References: <1424884133-323-1-git-send-email-imammedo@redhat.com> <1424884133-323-4-git-send-email-imammedo@redhat.com> <20150225195941.GA19765@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH V13 3/4] pc: add a Virtual Machine Generation ID device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: ghammer@redhat.com, qemu-devel@nongnu.org On Wed, 25 Feb 2015 20:59:41 +0100 "Michael S. Tsirkin" wrote: > > diff --git a/hw/i386/acpi-dsdt.dsl b/hw/i386/acpi-dsdt.dsl > > index a611e07..884038b 100644 > > --- a/hw/i386/acpi-dsdt.dsl > > +++ b/hw/i386/acpi-dsdt.dsl > > @@ -306,8 +306,6 @@ DefinitionBlock ( > > Scope(\_GPE) { > > Name(_HID, "ACPI0006") > > =20 > > - Method(_L00) { > > - } > > Method(_E01) { > > // PCI hotplug event > > Acquire(\_SB.PCI0.BLCK, 0xFFFF) > > diff --git a/hw/i386/q35-acpi-dsdt.dsl b/hw/i386/q35-acpi-dsdt.dsl > > index e1cee5d..9eb794c 100644 > > --- a/hw/i386/q35-acpi-dsdt.dsl > > +++ b/hw/i386/q35-acpi-dsdt.dsl > > @@ -414,8 +414,6 @@ DefinitionBlock ( > > Scope(\_GPE) { > > Name(_HID, "ACPI0006") > > =20 > > - Method(_L00) { > > - } > > Method(_L01) { > > } > > Method(_E02) { >=20 > What is this change doing? It's replaced by \_GPE._E00 handler in SSDT if vmgenid device is present. Implementation MUST provide control method _[LE]xx IF hardware utilizes corresponding GPE event [ACPI 1.0b 5.6.2.2.3]. =46rom that follows if GPE event is not used, the corresponding method doesn't have to be present in \_GPE block. That goes along with \_GPE blocks I've seen on real hardware also. (i.e. they provide only some handlers and do not implement stubs for unused ones). I've tested it with XPsp3/ws2012R2, it boots fine with vmgenid either present or not.