From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKOh0-0002sg-Je for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:53:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKOgy-0006m6-R9 for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:53:14 -0400 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]:61435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKOgy-0006lt-LC for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:53:12 -0400 Received: by mail-ea0-f180.google.com with SMTP id d10so827219eaj.39 for ; Tue, 26 Mar 2013 00:53:11 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <515153DF.9070805@redhat.com> Date: Tue, 26 Mar 2013 08:53:03 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1363856914-23399-2-git-send-email-hutao@cn.fujitsu.com> <514ACEDA.8080506@redhat.com> <20130321091711.GB21556@localhost.localdomain> <20130322074818.GM9382@redhat.com> <20130326015952.GC27169@localhost.localdomain> <5151482D.8040004@redhat.com> <20130326072443.GA2539@localhost.localdomain> In-Reply-To: <20130326072443.GA2539@localhost.localdomain> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v15 2/2] patch dsdt to use passed-in pvpanic ioport List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: Marcelo Tosatti , Peter Maydell , Andrew Jones , Anthony Liguori , Alex Williamson , Juan Quintela , Gleb Natapov , "Michael S. Tsirkin" , Jan Kiszka , seabios@seabios.org, qemu-devel , Markus Armbruster , Blue Swirl , Orit Wasserman , Alexander Graf , Sasha Levin , Stefan Hajnoczi , Luiz Capitulino , Christian Borntraeger , KAMEZAWA Hiroyuki Il 26/03/2013 08:24, Hu Tao ha scritto: >>> > > ACPI_EXTRACT_NAME_WORD_CONST dsdt_isa_pest generates two dsdt_isa_pest, >>> > > one in out/acpi-dsdt.hex the other in out/q35-acpi-dsdt.hex. We should >>> > > use the one in q35-acpi-dsdt.hex to patch DSDT for q35. But including >>> > > q35-acpi-dsdt.hex, along with acpi-dsdt.hex, will result in redefinition >>> > > of dsdt_isa_pest. I didn't see a simple way to solve this. >> > >> > Compile it in a separate file and include it in the SSDT (build_ssdt in >> > src/acpi.c). > Doesn't work. iasl gives an error: > > Data Table Compiler is not available yet > > Even though it compiles, I think the generated offset (*dsdt_isa_pest) > won't be correct because it depends on acpi-dsdt.dsl/q35-acpi-dsdt.dsl. See how it is done for ssdt-misc.aml (in fact, you can simply extend ssdt-misc.aml). Paolo