Stefan Hajnoczi 02edd2e766 migration: fix spice migration
Commit 29ae8a4133082e16970c9d4be09f4b6a15034617 ("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
..
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:30 +01:00
2010-07-26 17:35:54 -05:00
2012-12-19 08:31:31 +01:00
2013-07-22 12:52:34 -05:00
2010-07-26 17:35:54 -05:00
2010-07-26 17:35:54 -05:00
2010-07-26 17:35:54 -05:00
2013-07-29 17:19:02 +02:00
2012-07-28 09:23:11 +00:00
2013-03-18 10:21:58 +01:00
2010-07-26 17:36:14 -05:00
2013-03-18 10:21:58 +01:00
2012-11-01 19:49:45 +01:00
2013-05-03 12:04:57 -05:00
2013-05-03 12:04:57 -05:00
2013-05-03 12:04:57 -05:00
2013-05-03 12:04:57 -05:00
2010-07-26 17:35:54 -05:00