[libvirt] [PATCH 00/12] qemu: Fully populate JSON formatters for the protocol layer (blockdev-add saga)

Peter Krempa pkrempa at redhat.com
Fri Nov 3 14:29:17 UTC 2017


This adds the missing formatters for JSON properties for the storage.

John Ferlan (1):
  qemu: block: Add JSON props generator for iSCSI protocol

This patch was stolen from the iSCSI saga and fixed, since the formatter
did not format the port number into the portal string.

Peter Krempa (11):
  qemu: block: Use proper type for servers for VxHS disks
  qemu: process: Split out useful parts from qemuBuildNetworkDriveURI
  storage: Don't store leading '/' in image name when splitting out
    volume
  storage: Store RBD image name as pool and image name
  qemu: block: Add JSON props generator for 'curl' based storage
    backends
  qemu: block: Add JSON props generator for NBD storage backing
  qemu: block: Add JSON props generator for RBD storage backing
  qemu: block: Add JSON props generator for sheepdog storage backing
  qemu: block: Add JSON props generator for ssh storage backing
  qemu: block: Add node-names to JSON backing storage strings
  tests: Add testing of storage backend JSON props formatter

 src/conf/domain_conf.c                             |  17 +-
 src/libxl/libxl_conf.c                             |   2 +-
 src/qemu/qemu_block.c                              | 403 ++++++++++++++++++++-
 src/qemu/qemu_block.h                              |   4 +
 src/qemu/qemu_command.c                            |  40 +-
 src/util/virstoragefile.c                          |  26 +-
 src/xenconfig/xen_xl.c                             |   2 +-
 tests/Makefile.am                                  |  14 +-
 tests/domainsnapshotxml2xmlin/disk_snapshot.xml    |   2 +-
 tests/domainsnapshotxml2xmlout/disk_snapshot.xml   |   2 +-
 tests/qemublocktest.c                              | 189 ++++++++++
 .../qemuxml2argv-disk-drive-network-gluster.args   |   2 +-
 ...muxml2argv-disk-drive-network-tlsx509-vxhs.args |   8 +-
 .../qemuxml2argv-disk-drive-network-vxhs.args      |   4 +-
 tests/virstoragetest.c                             |   3 +-
 15 files changed, 640 insertions(+), 78 deletions(-)
 create mode 100644 tests/qemublocktest.c

-- 
2.14.3




More information about the libvir-list mailing list