|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [6907] Introducing qcow2 extensions (Uri Lublin) |
Date: | Sat, 28 Mar 2009 21:58:26 +0300 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Anthony Liguori wrote:
Revision: 6907 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6907 Author: aliguori Date: 2009-03-28 17:55:06 +0000 (Sat, 28 Mar 2009) Log Message: ----------- Introducing qcow2 extensions (Uri Lublin) Qcow2 extensions are build of magic (id) len (in bytes) and data. They reside right after the qcow2 header. If a backing filename exists it follows the qcow2 extension (if exist) Qcow2 extensions are read upon image open. Qcow2 extensions are identified by their magic. Unknown qcow2 extensions (unknown magic) are skipped. A Special magic of 0 means end-of-qcow2-extensions.
We should introduce a notion of compatible vs. incompatible extensions.A compatible extension my be ignored by the qcow2 code if it does not understand the magic number. An incompatible extension causes an abort. This allows both more flexibility in how we can change the file format. I believe ext* does the same thing.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
[Prev in Thread] | Current Thread | [Next in Thread] |