From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgdxH-0003uf-12 for qemu-devel@nongnu.org; Mon, 18 Jun 2012 11:33:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgdxE-0001JA-KU for qemu-devel@nongnu.org; Mon, 18 Jun 2012 11:33:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgdxE-0001In-Cp for qemu-devel@nongnu.org; Mon, 18 Jun 2012 11:33:24 -0400 Message-ID: <4FDF4A40.5020401@redhat.com> Date: Mon, 18 Jun 2012 09:33:20 -0600 From: Eric Blake MIME-Version: 1.0 References: <1339598189-17933-1-git-send-email-wdongxu@linux.vnet.ibm.com> <4FD8AD4C.6020708@redhat.com> <4FD9C136.3020309@redhat.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8CFD1F6EE4BF3DFCD74DED30" Subject: Re: [Qemu-devel] [PATCH 1/6 v10] docs: spec for add-cow file format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dong Xu Wang Cc: Kevin Wolf , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8CFD1F6EE4BF3DFCD74DED30 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/17/2012 08:08 PM, Dong Xu Wang wrote: >>>> Mention that if this is not 0, then it must be between 36 and 4094 (= a >>>> file name must be at least 1 byte). What are the semantics if the >>>> filename is relative? >>> >>> relative filename is ok, I tested it just now. >> >> I believe Eric wanted to know what a relative path means, i.e. that it= 's >> relative to the image file rather than relative to the working directo= ry. >> > Now it is relative to working directory. Yuck. So I have to change directories before opening an add-cow image in order to interpret it the same way as the creator? You really need to fix this to be like qcow2 backing files; relative path names there are interpreted relative to the qcow2 file, not to the current working directory of the process that opened the qcow2 file. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig8CFD1F6EE4BF3DFCD74DED30 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJP30pAAAoJEKeha0olJ0NqIaUH+wQtsxD3UkrFIQ+lunVrv6JU hhyEuQ70tylupvXOJ7g0qu373a+8LHLxtqw+s5oDlOxIWb+cQsxxrYXA4mPovPPA rNuaCiR3DudvEHKETbMso/55Cz1tRetxeYFPbdZ6KCzEbuyh9Vmt49nWLTOJig0R x1trylwwcBzE+BDjgs8DkTVJn+yI53lOM0U5Xz+5q2L97IPVWUxHFbLJFTAo8sKQ Ws3sIx9sw3S/MTVb+efk+kjU6H7LbSMjED/Hdcbz+rMAHIXcEVb1TCtJWWVQ7J0d oO3CQ0qSi/pTuySQoUEj118LeXTE2bG4YeYE0v+kZxv2CI5ignXRb+RPaGJyP1I= =5h5/ -----END PGP SIGNATURE----- --------------enig8CFD1F6EE4BF3DFCD74DED30--