[PATCH 0/5] qemu: Support rbd namespace attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



QEMU introduced rbd namespace blockdev args since v5.0.0[1].

Implement rbd namespace to libvirt. It could be used for tenant
isolation with in a pool after Ceph Nautilus.

Note that since the aarch64 qemu capabilities replies is not updated for the
namespace args, I didn't add capabilities test for this arch. The
capabilities test will be updateid after the updated replies.

https://bugzilla.redhat.com/show_bug.cgi?id=1816909
[1]: https://lists.gnu.org/archive/html/qemu-devel/2019-12/msg04344.html


Han Han (5):
  qemu_capabilities: Add QEMU_CAPS_RBD_NAMESPACE
  conf: Support to parse rbd namespace attribute
  qemu: Implement rbd namespace attribute
  doc: rng schemas and html doc for rbd namespace attribute
  news: qemu: Support rbd namespace

 docs/formatdomain.html.in                     |  5 +++
 docs/news.xml                                 |  9 ++++
 docs/schemas/domaincommon.rng                 |  3 ++
 src/conf/domain_conf.c                        |  4 ++
 src/qemu/qemu_block.c                         |  1 +
 src/qemu/qemu_capabilities.c                  |  2 +
 src/qemu/qemu_capabilities.h                  |  1 +
 src/qemu/qemu_command.c                       | 14 ++++++-
 src/util/virstoragefile.h                     |  1 +
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1 +
 .../caps_5.0.0.x86_64.xml                     |  1 +
 ...k-network-rbd-namespace.x86_64-latest.args | 41 +++++++++++++++++++
 .../disk-network-rbd-namespace.xml            | 33 +++++++++++++++
 tests/qemuxml2argvtest.c                      |  1 +
 ...sk-network-rbd-namespace.x86_64-latest.xml | 41 +++++++++++++++++++
 tests/qemuxml2xmltest.c                       |  1 +
 16 files changed, 158 insertions(+), 1 deletion(-)
 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.25.0





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux