xemu/include/migration
Peter Xu b605c47b57 migration: fix handling for --only-migratable
MigrateState object is not ready at that time, so we'll get an
assertion. Use qemu_global_option() instead.

Reported-by: Eduardo Habkost <ehabkost@redhat.com>
Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Fixes: 3df663e ("migration: move only_migratable to MigrationState")
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1499242883-2184-2-git-send-email-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2017-07-10 17:52:21 +01:00
..
blocker.h migration: Create migration/blocker.h 2017-05-17 12:04:59 +02:00
colo.h migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
cpu.h migration: Add VMSTATE_UINTTL_2DARRAY() 2017-05-04 09:39:01 +09:00
failover.h COLO: Implement the process of failover for primary VM 2016-10-30 15:17:39 +05:30
global_state.h migration: move global_state.optional out 2017-06-28 11:18:38 +02:00
misc.h migration: fix handling for --only-migratable 2017-07-10 17:52:21 +01:00
qemu-file-types.h migration: Split qemu-file.h 2017-06-01 18:49:22 +02:00
register.h migration: Fix compilation with older compilers 2017-06-14 11:08:55 +02:00
snapshot.h migration: Create include for migration snapshots 2017-06-01 18:49:23 +02:00
vmstate.h vmstate: error hint for failed equal checks 2017-06-28 11:18:44 +02:00