]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Ignore missing query-migrate-parameters
authorJiri Denemark <jdenemar@redhat.com>
Wed, 26 Apr 2017 21:18:35 +0000 (23:18 +0200)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 May 2017 22:02:38 +0000 (18:02 -0400)
commit13bc6424d47885b14edb6dd23d80c34ddd22f253
treeee7102d365679049fc909b0326299c58d162646c
parent7893cc87e0e91138f0a7389b70dfc6be91681170
qemu: Ignore missing query-migrate-parameters

Migration with old QEMU which does not support query-migrate-parameters
would fail because the QMP command is called unconditionally since the
introduction of TLS migration. Previously it was only called if the user
explicitly requested a feature which uses QEMU migration parameters. And
even then the situation was not ideal, instead of reporting an
unsupported feature we'd just complain about missing QMP command.

Trivially no migration parameters are supported when
query-migrate-parameters QMP command is missing. There's no need to
report an error if it is missing, the callers will report better error
if needed.

https://bugzilla.redhat.com/show_bug.cgi?id=1441934

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
(cherry picked from commit ac58c036065ff1d53bc05b796093287c27c71762)
src/qemu/qemu_monitor_json.c