From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfAEQ-00080M-G8 for qemu-devel@nongnu.org; Wed, 22 May 2013 10:41:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfAEN-00048o-Ft for qemu-devel@nongnu.org; Wed, 22 May 2013 10:41:34 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:42054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfAEN-00048S-9g for qemu-devel@nongnu.org; Wed, 22 May 2013 10:41:31 -0400 Received: by mail-wi0-f181.google.com with SMTP id hi5so1279623wib.2 for ; Wed, 22 May 2013 07:41:30 -0700 (PDT) Date: Wed, 22 May 2013 16:39:45 +0200 From: Stefan Hajnoczi Message-ID: <20130522143945.GF28600@stefanha-thinkpad.redhat.com> References: <1369192610-25003-1-git-send-email-famz@redhat.com> <20130522094444.GA28893@redhat.com> <519CA653.3090803@redhat.com> <20130522111224.GS4515@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130522111224.GS4515@redhat.com> Subject: Re: [Qemu-devel] [PATCH v4 00/10] curl: fix curl read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richard W.M. Jones" Cc: Paolo Bonzini , Fam Zheng , qemu-devel@nongnu.org On Wed, May 22, 2013 at 12:12:24PM +0100, Richard W.M. Jones wrote: > On Wed, May 22, 2013 at 01:04:51PM +0200, Paolo Bonzini wrote: > > Something is trying to write, but there's no write operation defined for > > CURL. > > > > I guess curl (and other backends too) should reject being opened for > > write. Alternatively, block.c could do that for them. > > Yes, I'd just got to that conclusion as well :-) > > The attached patch fixes the crash for me. Please post a top-level thread so that your patch gets picked up by scripts and noticed by humans too :). Alternatively Fam can include it in the next revision of this series. Stefan