diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2011-01-11 14:39:43 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-01-17 18:22:17 +0200 |
commit | dc9121210eaf34e768901ffc6992dd13062c743a (patch) | |
tree | b301ef9f52367cc37aa29d739e78b00be005865f /sysemu.h | |
parent | 668643b025dcff72b9b18adb5df794be9e9be5dc (diff) |
savevm: Fix no_migrate
The no_migrate save state flag is currently only checked in the
last phase of migration. This means that we potentially waste
a lot of time and bandwidth with the live state handlers before
we ever check the no_migrate flags. The error message printed
when we catch a non-migratable device doesn't get printed for
a detached migration. And, no_migrate does nothing to prevent
an incoming migration to a target that includes a non-migratable
device. This attempts to fix all of these.
One notable difference in behavior is that an outgoing migration
now checks for non-migratable devices before ever connecting to
the target system. This means the target will remain listening
rather than exit from failure.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -75,6 +75,7 @@ void qemu_announce_self(void); void main_loop_wait(int nonblocking); +bool qemu_savevm_state_blocked(Monitor *mon); int qemu_savevm_state_begin(Monitor *mon, QEMUFile *f, int blk_enable, int shared); int qemu_savevm_state_iterate(Monitor *mon, QEMUFile *f); |