qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm
Date: Wed, 12 Dec 2012 11:00:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Il 12/12/2012 10:03, Dietmar Maurer ha scritto:
>>> So our snapshot implementation uses the following steps:
>>>
>>> 1.) qmp: savevm-start [statefile]
>>>
>>> This save the VM state into [statefile] and then stops the VM.
>>
>> That's migrate exec:cat>statefile (or similar)
> 
> We save to block devices, so we need to allocate them in advance
> with a size of 2 x 'memory size'.
> So we have an upper limit for the state file file, i.e. we stop the
> VM if ('statefile size' > 'assigned memory').

This is a heuristic that we can add (though remember you'll need some
extra space for the device state).

> It would be great to have some other means to reduce state size (instead 
> of stopping the VM), for example by slowing down the VM somehow? 

Yes, you can use the cpu cgroup.

Paolo

> Any other ideas?
> 




reply via email to

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