From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRfNK-0006OK-Iu for qemu-devel@nongnu.org; Fri, 26 Oct 2012 04:34:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRfNB-0007zd-2K for qemu-devel@nongnu.org; Fri, 26 Oct 2012 04:34:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRfNA-0007zN-Qa for qemu-devel@nongnu.org; Fri, 26 Oct 2012 04:34:32 -0400 Message-ID: <508A4B13.2040103@redhat.com> Date: Fri, 26 Oct 2012 10:34:27 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1351172204-29233-1-git-send-email-wdongxu@linux.vnet.ibm.com> <1351172204-29233-2-git-send-email-wdongxu@linux.vnet.ibm.com> <50895338.80900@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V14 1/6] docs: document for add-cow file format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dong Xu Wang Cc: qemu-devel Am 26.10.2012 04:54, schrieb Dong Xu Wang: > On Thu, Oct 25, 2012 at 10:56 PM, Eric Blake wrote: >> On 10/25/2012 07:36 AM, Dong Xu Wang wrote: >>> + >>> + 64 - 79: image file format >>> + Format of image file. It must be non-empty. It is coded >>> + in free-form ASCII, and is not NUL-terminated. Zero >>> + padded on the right. >> >> [1]...here you claim that backing and image file format are mandatory >> (must not be empty). Shouldn't you allow the file format to be empty, >> in which case qemu will probe? And why do you even need image file >> format - isn't the whole point of add-cow to wrap a raw image file, or >> are you planning on also being able to wrap non-raw files? Are there >> other non-raw file formats that lack backing file support, where add-cow >> can be used to give it a backing file? >> > > Kevin or Stefan, can you give me some opinion? Thanks. Yes, there are plenty of other block drivers that don't support backing files, either because their image format/protocol can't provide such information or just because it's not implemented in qemu today. Kevin