From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sm1hV-0006sK-6M for qemu-devel@nongnu.org; Tue, 03 Jul 2012 07:55:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sm1hQ-0002Uf-Ga for qemu-devel@nongnu.org; Tue, 03 Jul 2012 07:55:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sm1hQ-0002UF-8T for qemu-devel@nongnu.org; Tue, 03 Jul 2012 07:55:20 -0400 Message-ID: <4FF2DD9C.4050903@redhat.com> Date: Tue, 03 Jul 2012 13:55:08 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1341313544-6256-1-git-send-email-xiawenc@linux.vnet.ibm.com> In-Reply-To: <1341313544-6256-1-git-send-email-xiawenc@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] add text about how to use qemu-nbd with qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xiawenc@linux.vnet.ibm.com Cc: qemu-devel@nongnu.org, anthony@codemonkey.ws, stefanha@linux.vnet.ibm.com Il 03/07/2012 13:05, xiawenc@linux.vnet.ibm.com ha scritto: > + > + Note: When qemu-nbd was used to export a disk that would be used by QEMU > +block device, -t or --persistent must be set for that QEMU nbd client would try > +connect more than one time. For eg: > + qemu-nbd ./simple.img -p 10809 -t > + qemu -hdb nbd:127.0.0.1:10809 We could actually make persistent the default unless we're using qemu-nbd in client mode (i.e. exporting to /dev/nbd*), and drop the option. What do you think? Paolo