qemu-e2k/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
..
Makefile.objs migration: create global_state.c 2017-06-13 11:00:45 +02:00
block.c block: Make bdrv_is_allocated() byte-based 2017-07-10 13:18:07 +02:00
block.h migration: Move include/migration/block.h into migration/ 2017-06-01 18:49:24 +02:00
channel.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
channel.h migration: Remove MigrationState from migration_channel_incomming() 2017-06-13 11:00:44 +02:00
colo-comm.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
colo-failover.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
colo.c migration: Fix race of image locking between src and dst 2017-06-19 17:53:33 +01:00
exec.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
exec.h migration: Export exec.c functions in its own file 2017-06-01 18:49:22 +02:00
fd.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
fd.h migration: Export fd.c functions in its own file 2017-06-01 18:49:22 +02:00
global_state.c migration: move global_state.optional out 2017-06-28 11:18:38 +02:00
migration.c migration: fix handling for --only-migratable 2017-07-10 17:52:21 +01:00
migration.h migration: add "return-path" capability 2017-06-28 11:51:10 +02:00
page_cache.c migration: Move page_cache.c to migration/ 2017-05-17 12:04:59 +02:00
page_cache.h migration: Move page_cache.c to migration/ 2017-05-17 12:04:59 +02:00
postcopy-ram.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
postcopy-ram.h migration: Move postcopy stuff to postcopy-ram.c 2017-05-17 12:04:59 +02:00
qemu-file-channel.c migration: Split qemu-file.h 2017-06-01 18:49:22 +02:00
qemu-file-channel.h migration: Export qemu-file-channel.c functions in its own file 2017-05-18 19:20:50 +02:00
qemu-file.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
qemu-file.h migration: ram_control_* are implemented in qemu_file 2017-06-13 11:00:45 +02:00
qjson.c migration: Move qjson.h to migration/ 2017-05-18 19:20:59 +02:00
qjson.h migration: Move qjson.h to migration/ 2017-05-18 19:20:59 +02:00
ram.c migration: Don't create decompression threads if not enabled 2017-06-14 11:11:06 +02:00
ram.h ram: Use MigrationStats for statistics 2017-06-07 10:20:54 +02:00
rdma.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
rdma.h migration: Export rdma.c functions in its own file 2017-06-01 18:49:23 +02:00
savevm.c migration: merge enforce_config_section somewhat 2017-06-28 11:18:39 +02:00
savevm.h migration: Fix race of image locking between src and dst 2017-06-19 17:53:33 +01:00
socket.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
socket.h migration: Export socket.c functions in its own file 2017-06-01 18:49:23 +02:00
tls.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
tls.h migration: Export tls.c functions in its own file 2017-06-01 18:49:23 +02:00
trace-events migration: isolate return path on src 2017-06-13 11:00:44 +02:00
vmstate-types.c vmstate: error hint for failed equal checks 2017-06-28 11:18:44 +02:00
vmstate.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
xbzrle.c migration: Create migration/xbzrle.h 2017-05-18 18:04:54 +02:00
xbzrle.h migration: Create migration/xbzrle.h 2017-05-18 18:04:54 +02:00