Migration/colo.c: Add new COLOExitReason to handle all failover state
commit3a43ac4757b70dfc2964c12ca1ac82f61128cc04
authorZhang Chen <chen.zhang@intel.com>
Fri, 22 Mar 2019 10:13:31 +0000 (22 18:13 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 25 Mar 2019 17:45:30 +0000 (25 18:45 +0100)
treee269c042cb35cf3ae12653eda8befe3a075bb0be
parent1fe6ab267fa6c7f75466063763370ef877465a87
Migration/colo.c: Add new COLOExitReason to handle all failover state

In this patch we add the processing state for COLOExitReason,
because we have to identify COLO in the failover processing state or
failover error state. In the way, we can handle all the failover state.
We have improved the description of the COLOExitReason by the way.

Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/colo.c
qapi/migration.json