From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKNug-0001Gp-6C for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:03:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKNud-0006yk-93 for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:03:18 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:50287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKNud-0006yO-0Y for qemu-devel@nongnu.org; Tue, 26 Mar 2013 03:03:15 -0400 Received: by mail-ea0-f182.google.com with SMTP id q15so2658990ead.27 for ; Tue, 26 Mar 2013 00:03:14 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5151482D.8040004@redhat.com> Date: Tue, 26 Mar 2013 08:03:09 +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> In-Reply-To: <20130326015952.GC27169@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 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). Paolo