From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcvXv-0004DR-VC for qemu-devel@nongnu.org; Tue, 20 Dec 2011 03:59:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcvXq-0001F3-82 for qemu-devel@nongnu.org; Tue, 20 Dec 2011 03:59:39 -0500 Received: from mail-ee0-f45.google.com ([74.125.83.45]:41185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcvXq-0001Ew-2M for qemu-devel@nongnu.org; Tue, 20 Dec 2011 03:59:34 -0500 Received: by eekb45 with SMTP id b45so7072060eek.4 for ; Tue, 20 Dec 2011 00:59:33 -0800 (PST) Date: Tue, 20 Dec 2011 08:04:31 +0000 From: Stefan Hajnoczi Message-ID: <20111220080431.GA8664@stefanha-thinkpad.localdomain> References: <20111209131037.2413.97284.malonedeb@gac.canonical.com> <20111219172622.31593.92992.malone@gac.canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111219172622.31593.92992.malone@gac.canonical.com> Subject: Re: [Qemu-devel] [Bug 902148] Re: qemu-img V1.0 hangs on creating Image (0.15.1 runs) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Niehren <902148@bugs.launchpad.net> Cc: qemu-devel@nongnu.org On Mon, Dec 19, 2011 at 05:26:22PM -0000, Michael Niehren wrote: > i got the following output with your patch: > > Formatting 'test.img', fmt=qcow2 size=1073741824 encryption=off cluster_size=65536 > bdrv_rw_co_entry is_write 0 sector_num 0 nb_sectors 1 =waiting for rwco.ret != NOT_DONE > waiting for rwco.ret != NOT_DONE > 0 > bdrv_rw_co_entry is_write 1 sector_num 0 nb_sectors 1 =waiting for rwco.ret != NOT_DONE > 0 > bdrv_rw_co_entry is_write 1 sector_num 128 nb_sectors 128 =waiting for rwco.ret != NOT_DONE > 0 > bdrv_rw_co_entry is_write 1 sector_num 128 nb_sectors 128 =-5 > waiting for rwco.ret != NOT_DONE > waiting for rwco.ret != NOT_DONE > waiting for rwco.ret != NOT_DONE > .... > > and runs forever The '=-5' is an Input/Output Error (EIO). For some reason bdrv_rw_co() is still waiting for the request to finish after the error has been returned. Is it possible for you to make the qemu-img binary available so I could try to reproduce this and debug it? Stefan