diff options
author | Peter Xu <peterx@redhat.com> | 2017-07-18 11:39:08 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-07-18 17:36:25 +0200 |
commit | 4a84214ebe1695405f58e5c6272d63d6084edfa5 (patch) | |
tree | c03fa4792a7f303f75eb0da7e5688de877911300 /po/messages.po | |
parent | fd198f9002a9e1f070c82b04d3229c18d9a49471 (diff) | |
download | qemu-4a84214ebe1695405f58e5c6272d63d6084edfa5.zip qemu-4a84214ebe1695405f58e5c6272d63d6084edfa5.tar.gz qemu-4a84214ebe1695405f58e5c6272d63d6084edfa5.tar.bz2 |
migration: provide migrate_caps_check()
Abstract helper function to check migration capabilities (from the old
qmp_migrate_set_capabilities). Prepare to be used somewhere else.
There is side effect on the change: when applying the capabilities, we
were skipping the invalid ones, but still applying the valid ones (if
they are provided in the same QMP request). After this refactoring,
we'll ignore all the capabilities if we detected invalid setup along the
way. However, I don't think it is a problem since general users should
not provide anything invalid after all.
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1500349150-13240-9-git-send-email-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'po/messages.po')
0 files changed, 0 insertions, 0 deletions