On 17 April 2015 at 14:03, Catalin Vasile <catalinvasil...@gmail.com> wrote: > When are save() and load() handlers actually used? > When are they trying to save and restore state?
These are used for: * live migration * VM state save/load (eg via monitor 'savevm' and 'loadvm' commands or command line -loadvm option). Note that the register_savevm() function is legacy and should not be used in any new code. Devices should use VMStateDescription structs instead. -- PMM