On Thu, Aug 4, 2011 at 11:38 AM, Fam Zheng wrote:
> On Thu, Aug 4, 2011 at 6:34 PM, Stefan Hajnoczi wrote:
>> On Thu, Aug 4, 2011 at 4:09 AM, Fam Zheng wrote:
>>> +static void vmdk_free_last_extent(BlockDriverState *bs)
>>> +{
>>> + BDRVVmdkState *s = bs->opaque;
>>> +
>>> + if (s->num_ext
On Thu, Aug 4, 2011 at 6:34 PM, Stefan Hajnoczi wrote:
> On Thu, Aug 4, 2011 at 4:09 AM, Fam Zheng wrote:
>> +static void vmdk_free_last_extent(BlockDriverState *bs)
>> +{
>> + BDRVVmdkState *s = bs->opaque;
>> +
>> + if (s->num_extents == 0) {
>> + return;
>> + }
>> + s->num_e
On Thu, Aug 4, 2011 at 4:09 AM, Fam Zheng wrote:
> +static void vmdk_free_last_extent(BlockDriverState *bs)
> +{
> + BDRVVmdkState *s = bs->opaque;
> +
> + if (s->num_extents == 0) {
> + return;
> + }
> + s->num_extents--;
> + s->extents = qemu_realloc(s->extents, s->num_exte