From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxvB5-0000Az-RR for qemu-devel@nongnu.org; Mon, 29 Aug 2011 02:18:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxvB3-000145-3Z for qemu-devel@nongnu.org; Mon, 29 Aug 2011 02:18:35 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:42926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxvB2-00013W-UP for qemu-devel@nongnu.org; Mon, 29 Aug 2011 02:18:33 -0400 Received: by fxbb27 with SMTP id b27so4607509fxb.4 for ; Sun, 28 Aug 2011 23:18:32 -0700 (PDT) Date: Mon, 29 Aug 2011 08:18:30 +0200 From: "Edgar E. Iglesias" Message-ID: <20110829061830.GE3166@zapo> References: <1314546216-26613-1-git-send-email-avi@redhat.com> <20110828203715.GB7244@zapo> <4E5B25D2.1080402@redhat.com> <20110829060022.GB3166@zapo> <4E5B2E8C.9020006@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E5B2E8C.9020006@redhat.com> Subject: Re: [Qemu-devel] [PATCH] pflash_cfi01/pflash_cfi02: convert to memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org, Richard Henderson On Mon, Aug 29, 2011 at 09:15:40AM +0300, Avi Kivity wrote: > On 08/29/2011 09:00 AM, Edgar E. Iglesias wrote: > >> > >> It does bite, as I saw with gdb. You can even see that from the > >> qemu error - it complains about unimplemented command 0xf0, that > >> comes from pflash_write() later on. > > > >I wasn't clear enough maybe, the code in question is running, but the > >set_readble is not having any effect AFAICT. The reads, that > >should come through via IO callbacks when switching mode are > >not getting through. Do you ever see pflash_read beeing called? > > > > Thanks for the clarification. I don't, and there is now a fix on > > git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git > > Please check it out. Great, have to run now, but I'll try it out later today. Cheers