From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmcmH-00059p-Rf for qemu-devel@nongnu.org; Wed, 04 Jul 2012 23:30:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmcmF-0006D7-QV for qemu-devel@nongnu.org; Wed, 04 Jul 2012 23:30:49 -0400 Received: from e28smtp07.in.ibm.com ([122.248.162.7]:32821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmcmF-0006CZ-60 for qemu-devel@nongnu.org; Wed, 04 Jul 2012 23:30:47 -0400 Received: from /spool/local by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 5 Jul 2012 09:00:35 +0530 Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q653UFgv63176760 for ; Thu, 5 Jul 2012 09:00:15 +0530 Received: from d28av04.in.ibm.com (loopback [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q65903Gi028854 for ; Thu, 5 Jul 2012 19:00:03 +1000 Message-ID: <4FF50A36.3000905@linux.vnet.ibm.com> Date: Thu, 05 Jul 2012 11:29:58 +0800 From: Wayne Xia MIME-Version: 1.0 References: <1341313544-6256-1-git-send-email-xiawenc@linux.vnet.ibm.com> <4FF2DD9C.4050903@redhat.com> In-Reply-To: <4FF2DD9C.4050903@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: Paolo Bonzini Cc: qemu-devel@nongnu.org 于 2012-7-3 19:55, Paolo Bonzini 写道: > 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 > Hi Paolo, should I make a patch to make persistent the default for qemu-nbd? -- Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803