[PATCH 0/6] qemu: Switch from 'nbd-server-add' to 'block-export-add'

Peter Krempa posted 6 patches 1 week ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1602669776.git.pkrempa@redhat.com
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(-)

[PATCH 0/6] qemu: Switch from 'nbd-server-add' to 'block-export-add'

Posted by Peter Krempa 1 week ago
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(-)

-- 
2.26.2

Re: [PATCH 0/6] qemu: Switch from 'nbd-server-add' to 'block-export-add'

Posted by Michal Privoznik 1 week ago
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@redhat.com>

Michal