From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1So89d-0001Ei-HY for qemu-devel@nongnu.org; Mon, 09 Jul 2012 03:13:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1So89Y-0006fv-RC for qemu-devel@nongnu.org; Mon, 09 Jul 2012 03:13:09 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:56170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1So89Y-0006eY-9I for qemu-devel@nongnu.org; Mon, 09 Jul 2012 03:13:04 -0400 Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 Jul 2012 06:52:59 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6974K2X1048868 for ; Mon, 9 Jul 2012 17:04:20 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q697CIqx018650 for ; Mon, 9 Jul 2012 17:12:18 +1000 Message-ID: <4FFA8418.5080307@linux.vnet.ibm.com> Date: Mon, 09 Jul 2012 15:11:20 +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> <4FF69B46.5040102@linux.vnet.ibm.com> In-Reply-To: <4FF69B46.5040102@linux.vnet.ibm.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 Paolo, what do you think write a short section in document for it, but make no change to code? > 于 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