From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmFEu-0007ZG-Ne for qemu-devel@nongnu.org; Tue, 03 Jul 2012 22:22:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmFEs-0006S1-UW for qemu-devel@nongnu.org; Tue, 03 Jul 2012 22:22:48 -0400 Received: from e28smtp03.in.ibm.com ([122.248.162.3]:48109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmFEs-0006Rj-AH for qemu-devel@nongnu.org; Tue, 03 Jul 2012 22:22:46 -0400 Received: from /spool/local by e28smtp03.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Jul 2012 07:52:39 +0530 Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay04.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q642M3uZ66912306 for ; Wed, 4 Jul 2012 07:52:03 +0530 Received: from d28av05.in.ibm.com (loopback [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q647qbam023016 for ; Wed, 4 Jul 2012 17:52:37 +1000 Message-ID: <4FF3A8A2.6020500@linux.vnet.ibm.com> Date: Wed, 04 Jul 2012 10:21:22 +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: qemu-devel@nongnu.org, Paolo Bonzini 于 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? > I think there will be no harm to make persistent default, but mark this change in document in case of breaking potential user case.(maybe someone have used qemu and expect qemu-nbd exit in script). > Paolo > -- Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803