From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmK8A-0001wW-Ac for qemu-devel@nongnu.org; Wed, 04 Jul 2012 03:36:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmK88-0006k7-OZ for qemu-devel@nongnu.org; Wed, 04 Jul 2012 03:36:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmK88-0006jx-Gc for qemu-devel@nongnu.org; Wed, 04 Jul 2012 03:36:08 -0400 Message-ID: <4FF3F25B.8050608@redhat.com> Date: Wed, 04 Jul 2012 09:35:55 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1341313544-6256-1-git-send-email-xiawenc@linux.vnet.ibm.com> <4FF34BBD.2050101@msgid.tls.msk.ru> <4FF3A719.5040702@linux.vnet.ibm.com> In-Reply-To: <4FF3A719.5040702@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 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: Michael Tokarev , qemu-devel@nongnu.org, anthony@codemonkey.ws, stefanha@linux.vnet.ibm.com Il 04/07/2012 04:14, Wayne Xia ha scritto: > >> of the internal structure inside - be it raw, or qcow, or anything else. >> So, if you specify the format of the device explicitly, by using >> format=raw, only single connection will be made. > thanks, that helped me. A bit more question: is there a way to let > nbd client know the image format used by server? qemu-nbd exports > simple_qcow2.img, and qemu saw it as raw block device, is it possible to > get the information in qemu that server is using qcow2 image? qemu-nbd takes care of the format translation itself, and always exposes the image as raw. Paolo