qemu-e2k/include/migration
Jens Freimann c7e0acd5a3 migration: add new migration state wait-unplug
This patch adds a new migration state called wait-unplug.  It is entered
after the SETUP state if failover devices are present. It will transition
into ACTIVE once all devices were succesfully unplugged from the guest.

So if a guest doesn't respond or takes long to honor the unplug request
the user will see the migration state 'wait-unplug'.

In the migration thread we query failover devices if they're are still
pending the guest unplug. When all are unplugged the migration
continues. If one device won't unplug migration will stay in wait_unplug
state.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20191029114905.6856-9-jfreimann@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-10-29 18:55:26 -04:00
..
blocker.h
colo.h
cpu.h Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
failover.h
global_state.h Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
misc.h migration: use migration_is_active to represent active state 2019-10-11 14:18:13 +01:00
qemu-file-types.h
register.h migration: register_savevm_live doesn't need dev 2019-09-12 11:15:03 +01:00
snapshot.h
vmstate.h migration: add new migration state wait-unplug 2019-10-29 18:55:26 -04:00