diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-11-30 18:21:21 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 10:48:53 -0600 |
commit | f327aa0c608b4bae3c93f0fbd0afcfdd9c9635bc (patch) | |
tree | c8a24861d58587a3b2107cb22fda348b2d746e00 /sysemu.h | |
parent | 82801d8f4f3fa7413647495d9823fb3144c31ddc (diff) | |
download | qemu-f327aa0c608b4bae3c93f0fbd0afcfdd9c9635bc.tar.gz qemu-f327aa0c608b4bae3c93f0fbd0afcfdd9c9635bc.tar.bz2 qemu-f327aa0c608b4bae3c93f0fbd0afcfdd9c9635bc.zip |
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>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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); |