[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format |
Date: |
Thu, 21 Feb 2013 10:49:24 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 02/21/2013 08:32 AM, Dietmar Maurer wrote:
>>>> Hint - look at how the qcow2 file format is specified. You need a
>>>> lot more details - enough that someone could independently implement
>>>> a program to read and create vma images that would be compatible
>>>> with what your implementation produces.
>>>
>>> The format is really simple, you have the definitions in the header
>>> file, and a reference implementation. I am quite sure any experienced
>>> developer can write an implementation in a few hours.
>>>
>>> We do not talk about an extremely complex format like 'qcow2' here.
>>
>> This is not an excuse for lacking details in the spec. Quite the opposite. If
>> someone has to look at your code in order to implement the format, you have
>> failed as a spec writer.
>
> I do not agree here. Clean source code is as good as a spec.
Not in qemu. There's a reason that we ask for clean specs, independent
of source code. That is the only way that we can later change the
source code to do something more efficient or to define an extension,
and still have clean documentation of what the extensions are, vs. how
an older version will behave. The initial implementation source code
might be easy to read, but that condition is not guaranteed to last.
If reading the source code to determine the header format is as easy as
you say, then you should have no problem writing the spec as detailed as
we have asked.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH v4 3/6] add backup related monitor commands, (continued)
[Qemu-devel] [PATCH v4 5/6] add regression tests for backup, Dietmar Maurer, 2013/02/20
[Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/20
- Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Eric Blake, 2013/02/20
- Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/21
- Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Kevin Wolf, 2013/02/21
- Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/21
- Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format,
Eric Blake <=
- Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/22
- Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Stefan Hajnoczi, 2013/02/22
- Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/22
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/22
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Kevin Wolf, 2013/02/22
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/22
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Kevin Wolf, 2013/02/22
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/22
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Kevin Wolf, 2013/02/22
Re: [Qemu-devel] [PATCH v4 4/6] introduce new vma archive format, Dietmar Maurer, 2013/02/22