* ali saeedi (ali.saeed...@gmail.com) wrote:
> Hi
> what is the difference between functions "qemu_savevm_state_begin" and
> "qemu_savevm_state_header" in migration_thread?

qemu_savevm_state_header just saves the file header.

qemu_savevm_state_begin iterates through the list of devices
calling the devices 'save_live_setup' method if they have one
and the 'set_params' method if they have one.  The 'save_line_setup'
is used for creating a section at the start of saving any iterative
device (e.g. RAM, block devices, etc)

Dave

> thanks a lot
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK

Reply via email to