Il 08/10/2013 11:23, Kevin Wolf ha scritto:
>> > I think you need to modify qcow2_save_vmstate to save and restore
>> > bs->total_sectors.  Can you test that and if so post the patch?
> It's a regression introduced by commit df2a6f29, right?

Yes, that's what introduced the "if".

> What you suggest probably works as a quick hack to fix the bug. The VM
> state functions in qcow2 are getting uglier and uglier, though. Maybe
> they should avoid going through block.c and adding hacks to disable or
> revert side effects.

Yes, that would work too.

Paolo

Reply via email to