[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu_savevm_state_begin
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] qemu_savevm_state_begin |
Date: |
Mon, 8 May 2017 09:40:27 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
* ali saeedi (address@hidden) 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 / address@hidden / Manchester, UK