On 10/14/20 12:03 PM, Peter Krempa wrote:
QEMU deprecated nbd-server-add in favor of block-export-add recently
(and didn't let us know via the standard means). Adapt to this change.
Peter Krempa (6):
qemu: block: Extract code for adding NBD exports to
'qemuBlockExportAddNBD'
qemumonitorjsontest: Allow deprecation of 'nbd-server-add' QMP command
tests: qemucapabilities: Update capabilities for qemu-5.2 dev cycle
qemu: capabilities: Add QEMU_CAPS_BLOCK_EXPORT_ADD
qemu: Add infrastructure for 'block-export-add' to export NBD
qemuBlockExportAddNBD: Use 'block-export-add' when available
src/qemu/qemu_backup.c | 11 +-
src/qemu/qemu_block.c | 75 +
src/qemu/qemu_block.h | 15 +
src/qemu/qemu_capabilities.c | 2 +
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_migration.c | 12 +-
src/qemu/qemu_monitor.c | 10 +
src/qemu/qemu_monitor.h | 4 +
src/qemu/qemu_monitor_json.c | 21 +
src/qemu/qemu_monitor_json.h | 4 +
.../caps_5.2.0.x86_64.replies | 5090 +++++++++--------
.../caps_5.2.0.x86_64.xml | 6 +-
tests/qemumonitorjsontest.c | 25 +-
13 files changed, 2890 insertions(+), 2386 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
Michal