From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn3V8-00018D-15 for qemu-devel@nongnu.org; Fri, 06 Jul 2012 04:02:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sn3Ux-0001cJ-Jt for qemu-devel@nongnu.org; Fri, 06 Jul 2012 04:02:53 -0400 Received: from e23smtp04.au.ibm.com ([202.81.31.146]:55466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn3Ux-0001c2-1D for qemu-devel@nongnu.org; Fri, 06 Jul 2012 04:02:43 -0400 Received: from /spool/local by e23smtp04.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Jul 2012 07:40:58 +1000 Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q667sXoU66846798 for ; Fri, 6 Jul 2012 17:54:33 +1000 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6682R80015908 for ; Fri, 6 Jul 2012 18:02:27 +1000 Message-ID: <4FF69B46.5040102@linux.vnet.ibm.com> Date: Fri, 06 Jul 2012 16:01:10 +0800 From: Wayne Xia 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> <4FF53765.6060600@redhat.com> <4FF54CA1.402@msgid.tls.msk.ru> <4FF551B1.3040505@redhat.com> In-Reply-To: <4FF551B1.3040505@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-5 16:34, Paolo Bonzini 写道: > Il 05/07/2012 10:13, Michael Tokarev ha scritto: >>>>>> 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. >> I don't think this makes sense or is good: now we'll need >> to have an option to enable non-persistent mode, and have >> to fix scripts which expects non-persistent mode by default >> (does autotest uses it?). > > Hmm, yeah, with daemon mode non-persistent is still better. I guess it > is just a bogus thing we have to live with, just like daemon mode itself. > From the product perspective, keeping qemu-nbd option unchanged seems better. I think changing the qemu block behavior needs extra efforts and not so worthy. Actually I don't think this is a bug, the nbd-block still works but just need some document to avoid making user debug it. Maybe a document is the easiest way. >> Instead, it is more productive and rigth (IMHO anyway) to >> fix the qemu side to stop connecting two times for one >> device. > > That too. > > Paolo > -- Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803