]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add support for RBD namespace.
authorHan Han <hhan@redhat.com>
Wed, 26 May 2021 13:35:11 +0000 (21:35 +0800)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 Jul 2025 12:47:25 +0000 (14:47 +0200)
commitf8be069a0c6881586f940eb220969a0386c38649
tree73b26ab0dea8a0c5ff42929c02cbcf535a48e9cb
parente910f3f1729611d9c1a3687224026a17c69fbd28
qemu: Add support for RBD namespace.

Since Nautilus ceph supports separate image namespaces within a pool for
tenant isolation and QEMU adds it as a rbd blockdev options from 5.0.0.
The source name with format "<pool>/<namespace>/<image>" could be used to
access a rbd image with namespace.

Add unit tests for this attribute.

https://bugzilla.redhat.com/show_bug.cgi?id=1816909

Closes: https://gitlab.com/libvirt/libvirt/-/issues/405
Signed-off-by: Han Han <hhan@redhat.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/storage_source_conf.c
src/conf/storage_source_conf.h
src/qemu/qemu_block.c
src/storage_file/storage_file_backend_gluster.c
src/storage_file/storage_source_backingstore.c
tests/qemuxmlconfdata/disk-network-rbd.x86_64-latest.args
tests/qemuxmlconfdata/disk-network-rbd.x86_64-latest.xml
tests/qemuxmlconfdata/disk-network-rbd.xml