]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Disable detection of QEMU_CAPS_BLOCK_EXPORT_ADD
authorPeter Krempa <pkrempa@redhat.com>
Mon, 26 Oct 2020 10:26:50 +0000 (11:26 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 29 Oct 2020 17:08:39 +0000 (18:08 +0100)
commitb87cfc957f57c1d9f7e5bf828ee4b23972085991
treee2a433631938d3c8039b47be11675e952abe6f10
parent1f807631f402210d036ec4803e7adfefa222f786
qemu: capabilities: Disable detection of QEMU_CAPS_BLOCK_EXPORT_ADD

We use the capability to switch to using 'block-export-add' in the
upcoming qemu release instead of the at the same time deprecated
'nbd-server-add'.

Unfortunately qemu wants to change the interface of 'block-export-add'
before the release. Since we've tried to stay up to date and added the
code before it was written in stone, we need to disable the use of the
new interface for the upcoming libvirt release so that we don't have a
version of libvirt which would not work with the upcoming qemu version.

Remove the detection of 'block-export-add' until we are more sure how
the qemu interface will look.

This patch partially reverts commit adb9f7123adb94645

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_capabilities.c
tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml