qemu/include/migration
Stefan Hajnoczi 02edd2e766 migration: fix spice migration
Commit 29ae8a4133 ("rdma: introduce
MIG_STATE_NONE and change MIG_STATE_SETUP state transition") changed the
state transitions during migration setup.

Spice used to be notified with MIG_STATE_ACTIVE and it detected this
using migration_is_active().  Spice is now notified with
MIG_STATE_SETUP and migration_is_active() no longer works.

Replace migration_is_active() with migration_in_setup() to fix spice
migration.

Cc: Michael R. Hines <mrhines@us.ibm.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-07-29 17:19:02 +02:00
..
block.h
migration.h migration: fix spice migration 2013-07-29 17:19:02 +02:00
page_cache.h page_cache: dup memory on insert 2013-03-11 13:32:03 +01:00
qemu-file.h rdma: new QEMUFileOps hooks 2013-06-27 02:38:36 +02:00
vmstate.h linux-user: Fix compilation failure 2013-06-27 15:38:35 -05:00