qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qcow2: fix autoclear image header update


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] qcow2: fix autoclear image header update
Date: Thu, 14 Jun 2012 12:16:24 +0100

On Thu, Jun 14, 2012 at 12:06 PM, Kevin Wolf <address@hidden> wrote:
> Am 14.06.2012 12:42, schrieb Stefan Hajnoczi:
>> The autoclear feature bits can be used for qcow2 file format features
>> that are safe to "drop" by old programs that do not understand the
>> feature.  Upon opening the image file unknown autoclear feature bits are
>> cleared and the image file header is rewritten, but this was happening
>> too early in the code when critical header fields were not yet loaded.
>>
>> Process autoclear feature bits after all necessary header information
>> has been loaded.
>>
>> Signed-off-by: Stefan Hajnoczi <address@hidden>
>
> Ouch...
>
> You don't have a qemu-iotests case to offer for the feature bit
> handling, by any chance?

Nope.  I'll cook one up, should be easy with your qcow2.py module.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]