Received: from eggs.gnu.org ([140.186.70.92]:37401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9pBI-0007hy-Fx for qemu-devel@nongnu.org; Tue, 12 Apr 2011 21:47:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9lEv-0001jh-MF for qemu-devel@nongnu.org; Tue, 12 Apr 2011 17:35:14 -0400 Received: from hall.aurel32.net ([88.191.126.93]:43188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9lEv-0001ih-HP for qemu-devel@nongnu.org; Tue, 12 Apr 2011 17:35:13 -0400 Date: Tue, 12 Apr 2011 23:35:07 +0200 From: Aurelien Jarno Message-ID: <20110412213507.GC10979@hall.aurel32.net> References: <4DA3DF6B.8010308@cn.fujitsu.com> <4DA41B10.8030409@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <4DA41B10.8030409@cn.fujitsu.com> Sender: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH V2] fix acpi regression List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wen Congyang Cc: blauwirbel@gmail.com, Isaku Yamahata , qemu-devel On Tue, Apr 12, 2011 at 05:27:44PM +0800, Wen Congyang wrote: > This bug is introduced by commit 23910d3f. > > Signed-off-by: Wen Congyang > > --- > hw/acpi.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied. > diff --git a/hw/acpi.c b/hw/acpi.c > index e372474..ad40fb4 100644 > --- a/hw/acpi.c > +++ b/hw/acpi.c > @@ -355,7 +355,7 @@ static uint8_t *acpi_gpe_ioport_get_ptr(ACPIGPE *gpe, uint32_t addr) > if (addr < gpe->len / 2) { > cur = gpe->sts + addr; > } else if (addr < gpe->len) { > - cur = gpe->en + addr; > + cur = gpe->en + addr - gpe->len / 2; > } else { > abort(); > } > -- > 1.7.1 > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net