]> Git Repo - qemu.git/commit
migration: fix handling for --only-migratable
authorPeter Xu <[email protected]>
Wed, 5 Jul 2017 08:21:20 +0000 (16:21 +0800)
committerDr. David Alan Gilbert <[email protected]>
Mon, 10 Jul 2017 16:52:21 +0000 (17:52 +0100)
commitb605c47b57b58e61a901a50a0762dccf43d94783
tree783ffd0f8fe355d72fa4353607e9320c74dfd556
parent6b06e3e49eb8c91cc286c16d6bf3181ac296f33d
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 <[email protected]>
Suggested-by: Eduardo Habkost <[email protected]>
Reviewed-by: Eduardo Habkost <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Fixes: 3df663e ("migration: move only_migratable to MigrationState")
Signed-off-by: Peter Xu <[email protected]>
Message-Id: <1499242883[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
include/migration/misc.h
migration/migration.c
vl.c
This page took 0.021179 seconds and 4 git commands to generate.