From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKOFS-0002U7-7y for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKOFQ-0005Wx-Fu for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:24:45 -0400 Received: from [222.73.24.84] (port=21842 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKOFQ-0005Vt-5a for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:24:44 -0400 Date: Tue, 26 Mar 2013 15:24:43 +0800 From: Hu Tao Message-ID: <20130326072443.GA2539@localhost.localdomain> 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> MIME-Version: 1.0 In-Reply-To: <5151482D.8040004@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline 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: Paolo Bonzini 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 On Tue, Mar 26, 2013 at 08:03:09AM +0100, Paolo Bonzini wrote: > Il 26/03/2013 02:59, Hu Tao ha scritto: > >>> > > > >> > Why doesn't it work with q35? > > 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. -- Regards, Hu Tao