[PATCH v6 0/4] qemu: Support rbd namespace in rbd source name

Han Han hhan at redhat.com
Sat Oct 10 07:06:47 UTC 2020


Diffence from v5:
- conf: implement virStringSplit() to parse the src->path
- tests: Add the cases of path 'pool//image' to
  disk-network-rbd-namespace test
- temporarily removed the patch of news
- tweak of version in docs
- rebase to the latest main branch

v5: https://www.redhat.com/archives/libvir-list/2020-September/msg00081.html
git repo: https://gitlab.com/hhan2/libvirt/-/commits/rbd-namespace-v6

Han Han (4):
  qemu_capabilities: Add QEMU_CAPS_RBD_NAMESPACE
  util: Add member ns to the storage source struct
  conf: Support to parse rbd namespace from source name
  qemu: Implement rbd namespace to the source name attribute

 docs/formatdomain.rst                         | 16 ++++++
 src/conf/domain_conf.c                        | 47 ++++++++++++++++--
 src/qemu/qemu_block.c                         |  1 +
 src/qemu/qemu_capabilities.c                  |  2 +
 src/qemu/qemu_capabilities.h                  |  1 +
 src/qemu/qemu_domain.c                        |  8 +++
 src/util/virstoragefile.c                     |  2 +
 src/util/virstoragefile.h                     |  1 +
 .../caps_5.0.0.aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1 +
 .../caps_5.0.0.riscv64.xml                    |  1 +
 .../caps_5.0.0.x86_64.xml                     |  1 +
 .../caps_5.1.0.x86_64.xml                     |  1 +
 .../caps_5.2.0.x86_64.xml                     |  1 +
 ...k-network-rbd-namespace.x86_64-latest.args | 48 ++++++++++++++++++
 .../disk-network-rbd-namespace.xml            | 40 +++++++++++++++
 tests/qemuxml2argvtest.c                      |  1 +
 ...sk-network-rbd-namespace.x86_64-latest.xml | 49 +++++++++++++++++++
 tests/qemuxml2xmltest.c                       |  1 +
 19 files changed, 219 insertions(+), 4 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/disk-network-rbd-namespace.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/disk-network-rbd-namespace.xml
 create mode 100644 tests/qemuxml2xmloutdata/disk-network-rbd-namespace.x86_64-latest.xml

-- 
2.26.2




More information about the libvir-list mailing list