From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmfmG-000054-8U for qemu-devel@nongnu.org; Thu, 05 Jul 2012 02:43:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmfmB-0000WZ-J9 for qemu-devel@nongnu.org; Thu, 05 Jul 2012 02:42:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmfmB-0000WT-BH for qemu-devel@nongnu.org; Thu, 05 Jul 2012 02:42:55 -0400 Message-ID: <4FF53765.6060600@redhat.com> Date: Thu, 05 Jul 2012 08:42:45 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1341313544-6256-1-git-send-email-xiawenc@linux.vnet.ibm.com> <4FF2DD9C.4050903@redhat.com> <4FF50A36.3000905@linux.vnet.ibm.com> In-Reply-To: <4FF50A36.3000905@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 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: Wayne Xia Cc: qemu-devel@nongnu.org Il 05/07/2012 05:29, Wayne Xia 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 >> > Hi Paolo, should I make a patch to make persistent the default for > qemu-nbd? Yes, why not. However, as mentioned above client mode should still be non-persistent. Paolo