Does loadvm create new virtual devices (dev.init(), dev.realize(), etc.) for the vm to run onto and then load VMStateDescription?
On Fri, Apr 17, 2015 at 4:40 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > 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 >