From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtanZ-0003kZ-5K for qemu-devel@nongnu.org; Fri, 11 Jan 2013 04:21:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtanV-0006jv-PS for qemu-devel@nongnu.org; Fri, 11 Jan 2013 04:21:13 -0500 Date: Fri, 11 Jan 2013 10:13:57 +0100 From: Stefan Hajnoczi Message-ID: <20130111091357.GA14135@stefanha-thinkpad.muc.redhat.com> References: <1357755022-3572-1-git-send-email-julien.grall@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1357755022-3572-1-git-send-email-julien.grall@citrix.com> Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/pc.c: Fix converting of ioport_register* to MemoryRegion List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Julien Grall Cc: qemu-trivial@nongnu.org, aliguori@us.ibm.com, qemu-devel@nongnu.org On Wed, Jan 09, 2013 at 06:10:22PM +0000, Julien Grall wrote: > The commit 258711 introduced MemoryRegion to replace ioport_region* > for ioport 80h and F0h. > A MemoryRegion needs to have both read and write callback otherwise a segfault > will occur when an access is made. > > The previous behaviour of this both ioport is to return 0xffffffffffffffff. > So keep this behaviour. > > Reported-by: Adam Lackorzynski > Signed-off-by: Julien Grall > --- > hw/pc.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan