diff options
author | 2017-07-05 16:21:20 +0800 | |
---|---|---|
committer | 2017-07-10 17:52:21 +0100 | |
commit | b605c47b57b58e61a901a50a0762dccf43d94783 (patch) | |
tree | 783ffd0f8fe355d72fa4353607e9320c74dfd556 /scripts/qapi-commands.py | |
parent | Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2017-07-10-v2' into staging (diff) | |
download | qemu-b605c47b57b58e61a901a50a0762dccf43d94783.tar.xz qemu-b605c47b57b58e61a901a50a0762dccf43d94783.zip |
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>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions