qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] savevm/loadvm


From: Paolo Bonzini
Subject: Re: [Qemu-devel] savevm/loadvm
Date: Tue, 08 Oct 2013 11:33:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

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

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