qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] register_savevm()


From: Catalin Vasile
Subject: Re: [Qemu-devel] register_savevm()
Date: Fri, 17 Apr 2015 16:54:37 +0300

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 <address@hidden> wrote:
On 17 April 2015 at 14:03, Catalin Vasile <address@hidden> 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


reply via email to

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