From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3zYt-0002Qg-PT for qemu-devel@nongnu.org; Sat, 03 Mar 2012 19:44:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3zYs-00019w-0G for qemu-devel@nongnu.org; Sat, 03 Mar 2012 19:44:31 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:59956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3zYr-00016S-N5 for qemu-devel@nongnu.org; Sat, 03 Mar 2012 19:44:29 -0500 From: Laurent Vivier Content-Type: text/plain; charset="UTF-8" Date: Sun, 04 Mar 2012 01:44:23 +0100 Message-ID: <1330821863.17535.10.camel@Quad> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] NBD broken ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini Hi, since commit ae255e523, qemu with NBD hangs at startup (when it tries to access the disk): commit ae255e523c256cf0708f1c16cb946ff96340a800 Author: Paolo Bonzini Date: Thu Sep 8 14:28:59 2011 +0200 nbd: switch to asynchronous operation Signed-off-by: Paolo Bonzini Reverting this patch corrects the problem. My system is an Ubuntu 11.04 x86_64 (But the bug is also seen on RHEL6). qemu is configured only with "--target-list=x86_64-softmmu". My test case is: ./qemu-nbd -k /tmp/nbd-socket -t /ISO/ubuntu-11.04-desktop-i386.iso ./x86_64-softmmu/qemu-system-x86_64 -cdrom nbd:unix:/tmp/nbd-socket Same problem with a TCP socket, with/without KVM, with an x86_64 guest, with -hda... Regards, Laurent