From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3OrE-0004aC-QT for qemu-devel@nongnu.org; Tue, 13 Sep 2011 05:00:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3Or9-0002ac-4x for qemu-devel@nongnu.org; Tue, 13 Sep 2011 05:00:44 -0400 Received: from goliath.siemens.de ([192.35.17.28]:23172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3Or8-0002aJ-M9 for qemu-devel@nongnu.org; Tue, 13 Sep 2011 05:00:38 -0400 Message-ID: <4E6F1BAF.2000105@siemens.com> Date: Tue, 13 Sep 2011 11:00:31 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <3d9d904a1e4939a147f8954c9e0d4cdaf3d44c31.1314033132.git.jan.kiszka@siemens.com> <4E6E2329.9050109@suse.de> <4E6E2631.4060300@siemens.com> <4E6E28FD.7070907@web.de> <4E6E2A06.8010900@siemens.com> <4E6E2BDC.3060702@siemens.com> <4E6F10DD.6060606@siemens.com> <6BA6355D-D77A-40F4-A8C4-61901A926E71@suse.de> In-Reply-To: <6BA6355D-D77A-40F4-A8C4-61901A926E71@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 5/6] vga: Use linear mapping + dirty logging in chain 4 memory access mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Avi Kivity , =?ISO-8859-1?Q?Andreas_F=E4rber?= , Gerd Hoffmann , Anthony Liguori , qemu-devel On 2011-09-13 10:40, Alexander Graf wrote: > Btw, it still tries to execute invalid code even with your patch. #if 0'ing out the memory region updates at least get the guest booting for me. Btw, to get it working you also need a patch for the interrupt controller (another breakage thanks to memory api). > > diff --git a/hw/heathrow_pic.c b/hw/heathrow_pic.c > index 51996ab..16f48d1 100644 > --- a/hw/heathrow_pic.c > +++ b/hw/heathrow_pic.c > @@ -126,7 +126,7 @@ static uint64_t pic_read(void *opaque, target_phys_addr_t addr, > static const MemoryRegionOps heathrow_pic_ops = { > .read = pic_read, > .write = pic_write, > - .endianness = DEVICE_NATIVE_ENDIAN, > + .endianness = DEVICE_LITTLE_ENDIAN, > }; > > static void heathrow_pic_set_irq(void *opaque, int num, int level) > With out without this fix, with or without active chain-4 optimization, I just get an empty yellow screen when firing up qemu-system-ppc (also when using the Debian ISO). Do I need to specify a specific machine type? Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux