[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] qcow3 - arbitrary metadata
From: |
Nathaniel McCallum |
Subject: |
[Qemu-devel] [PATCH] qcow3 - arbitrary metadata |
Date: |
Mon, 28 Jul 2008 15:56:21 -0400 |
A project I'm working on requires the ability to store arbitrary metadata in the VM disk image. Thus, here is a patch that implements that as qcow3. It basically replaces the header.backing_store_{offset|size} with header.metadata_{offset|size}. Metadata is then defined as NULL-byte separated 'key:value' pairs. The attached qcow3 then stores the backing file as 'Backing-File:/home/me/backing_file.img' in the metadata section. I've included two patches. One is the full patch against the latest SVN (qcow3.patch). The second patch is just the diff between qcow2.c and qcow3.c so that you can easily see the changes.
I've also wondered if it might be possible to backport these changes into qcow2 instead of qcow3. However, this would break older versions of qemu that claim to support qcow2.
Nathaniel
qcow3.patch
Description: Binary data
qcow2-qcow3.patch
Description: Binary data
- [Qemu-devel] [PATCH] qcow3 - arbitrary metadata,
Nathaniel McCallum <=
- Re: [Qemu-devel] [PATCH] qcow3 - arbitrary metadata, Anthony Liguori, 2008/07/28
- Re: [Qemu-devel] [PATCH] qcow3 - arbitrary metadata, Nathaniel McCallum, 2008/07/28
- Re: [Qemu-devel] [PATCH] qcow3 - arbitrary metadata, Anthony Liguori, 2008/07/28
- Re: [Qemu-devel] [PATCH] qcow3 - arbitrary metadata, Nathaniel McCallum, 2008/07/28
- Re: [Qemu-devel] [PATCH] qcow3 - arbitrary metadata, Anthony Liguori, 2008/07/28
- Re: [Qemu-devel] [PATCH] qcow3 - arbitrary metadata, Nathaniel McCallum, 2008/07/28
- Re: [Qemu-devel] [PATCH] qcow3 - arbitrary metadata, Anthony Liguori, 2008/07/28
Re: [Qemu-devel] [PATCH] qcow3 - arbitrary metadata, Jamie Lokier, 2008/07/28