]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONGetMigrationCapabilities: Don't return early on CommandNotFound
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Oct 2021 07:03:04 +0000 (09:03 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Oct 2021 05:00:44 +0000 (07:00 +0200)
commit945942ebba943e6addd6c8163d6e38a4a7df7b8f
tree0ee15b5a23b3c211a5491c0b9608d2faea37a528
parent4c1d40915a13dca2253a925f18b70790d6f9bb99
qemuMonitorJSONGetMigrationCapabilities: Don't return early on CommandNotFound

The qemuMonitorJSONGetMigrationCapabilities() command executes
'query-migrate-capabilities' command and returns early if QEMU
doesn't know the command. Well, the command was introduced in
QEMU release 1.2 (specifically in commit v1.2.0-rc0~29^2~11) and
since the minimum required version is 2.11.0 we can be sure that
command will always exist.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor_json.c