Michael R. Hines d58f574bf3 rdma: allow state transitions between other states besides ACTIVE
This patch is in preparation for the next ones: Until now the MIG_STATE_SETUP
state was not really a 'formal' state. It has been used as a 'zero' state
and QEMU has been unconditionally transitioning into this state when
the QMP migrate command was called. In preparation for timing this state,
we have to make this state a a 'real' state which actually gets transitioned
from later in the migration_thread() from SETUP => ACTIVE, rather than just
automatically dropping into this state at the beginninig of the migration.

This means that the state transition function (migration_finish_set_state())
needs to be capable of transitioning from valid states _other_ than just
MIG_STATE_ACTIVE.

The function is in fact already capable of doing that, but was not allowing the
old state to be a parameter specified as an input.

This patch fixes that and only makes the transition if the current state
matches the old state that the caller intended to transition from.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Tested-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2013-07-23 13:06:28 +02:00
2013-07-19 15:27:37 +08:00
2013-04-18 13:50:53 +02:00
2013-07-09 13:38:56 -05:00
2013-07-22 10:14:24 -05:00
2013-07-23 11:12:00 +02:00
2013-07-18 08:17:42 -07:00
2013-07-10 10:54:16 -05:00
2013-07-18 08:17:42 -07:00
2013-07-10 10:54:16 -05:00
2013-07-09 07:15:25 -07:00
2013-05-03 13:58:09 +02:00
2013-07-22 12:52:34 -05:00
2013-07-10 13:42:09 -04:00
2012-09-07 09:02:44 +03:00
2013-06-11 23:45:43 +04:00
2013-07-18 08:17:42 -07:00
2013-02-21 16:17:31 -06:00
2013-07-23 11:12:00 +02:00
2013-07-19 12:29:22 +08:00
2013-04-08 18:13:10 +02:00
2012-05-14 07:27:24 +02:00
2013-07-23 11:12:00 +02:00
2013-07-15 09:49:00 +02:00
2013-07-15 09:49:00 +02:00
2013-02-21 16:17:31 -06:00
2013-07-10 10:54:16 -05:00
2011-12-09 11:25:22 +00:00
2013-07-23 11:12:00 +02:00
2013-06-14 15:33:10 +01:00
2013-07-23 11:12:00 +02:00
2013-05-03 13:05:49 +02:00
2013-05-18 16:35:12 +04:00
2013-02-22 21:21:10 +01:00
2013-06-06 11:27:05 +02:00
2013-06-06 11:27:05 +02:00
2013-07-19 12:52:03 +04:00
2013-05-01 13:06:07 +02:00
2011-12-11 17:50:43 -06:00
2013-05-03 12:04:40 -05:00
2013-07-23 11:11:59 +02:00
2013-07-10 10:54:16 -05:00
2013-05-20 10:55:18 -05:00
2013-07-10 13:42:09 -04:00
2013-07-04 17:42:45 +02:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 528 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%