Am 13.09.2012 18:57, schrieb Jeff Cody:
> On 09/13/2012 12:02 PM, Paolo Bonzini wrote:
>> Il 13/09/2012 17:49, Jeff Cody ha scritto:
>>> +
>>> +/*
>>> + * If we didn't have BDRV_O_NOCACHE set before, we may not have
>>> allocated
>>> + * aligned_buf
>>> + */
>>> +ret = raw_allo
On 09/13/2012 12:02 PM, Paolo Bonzini wrote:
> Il 13/09/2012 17:49, Jeff Cody ha scritto:
>> +
>> +/*
>> + * If we didn't have BDRV_O_NOCACHE set before, we may not have
>> allocated
>> + * aligned_buf
>> + */
>> +ret = raw_allocate_aligned_buf(&raw_s->aligned_buf,
>> +
Il 13/09/2012 17:49, Jeff Cody ha scritto:
> +
> +/*
> + * If we didn't have BDRV_O_NOCACHE set before, we may not have allocated
> + * aligned_buf
> + */
> +ret = raw_allocate_aligned_buf(&raw_s->aligned_buf,
> + &raw_s->aligned_buf_size, state
This is derived from the Supriya Kannery's reopen patches.
This contains the raw-posix driver changes for the bdrv_reopen_*
functions. All changes are staged into a temporary scratch buffer
during the prepare() stage, and copied over to the live structure
during commit(). Upon abort(), all chang