mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
live migration: Propagate output monitor to callback handler
In order to allow proper progress reporting to the monitor that initiated the migration, forward the monitor reference through the migration layer down to SaveLiveStateHandler. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
82801d8f4f
commit
f327aa0c60
11 changed files with 73 additions and 59 deletions
10
sysemu.h
10
sysemu.h
|
@ -62,11 +62,11 @@ void qemu_announce_self(void);
|
|||
|
||||
void main_loop_wait(int timeout);
|
||||
|
||||
int qemu_savevm_state_begin(QEMUFile *f, int blk_enable, int shared);
|
||||
int qemu_savevm_state_iterate(QEMUFile *f);
|
||||
int qemu_savevm_state_complete(QEMUFile *f);
|
||||
void qemu_savevm_state_cancel(QEMUFile *f);
|
||||
int qemu_savevm_state(QEMUFile *f);
|
||||
int qemu_savevm_state_begin(Monitor *mon, QEMUFile *f, int blk_enable,
|
||||
int shared);
|
||||
int qemu_savevm_state_iterate(Monitor *mon, QEMUFile *f);
|
||||
int qemu_savevm_state_complete(Monitor *mon, QEMUFile *f);
|
||||
void qemu_savevm_state_cancel(Monitor *mon, QEMUFile *f);
|
||||
int qemu_loadvm_state(QEMUFile *f);
|
||||
|
||||
void qemu_errors_to_file(FILE *fp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue