]> xenbits.xensource.com Git - libvirt.git/commit
storage backend: Add RBD (RADOS Block Device) support
authorWido den Hollander <wido@widodh.nl>
Mon, 14 May 2012 09:06:42 +0000 (11:06 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 21 May 2012 18:37:38 +0000 (12:37 -0600)
commit74951eadef85e2d100c7dc7bd9ae1093fbda722f
tree63ec5dfe198ae5178164e663eaa5d6e47578eaeb
parentb8e6021e7b7ef0d371cac59fa333848c8cebffd0
storage backend: Add RBD (RADOS Block Device) support

This patch adds support for a new storage backend with RBD support.

RBD is the RADOS Block Device and is part of the Ceph distributed storage
system.

It comes in two flavours: Qemu-RBD and Kernel RBD, this storage backend only
supports Qemu-RBD, thus limiting the use of this storage driver to Qemu only.

To function this backend relies on librbd and librados being present on the
local system.

The backend also supports Cephx authentication for safe authentication with
the Ceph cluster.

For storing credentials it uses the built-in secret mechanism of libvirt.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
16 files changed:
configure.ac
docs/drivers.html.in
docs/schemas/storagepool.rng
docs/storage.html.in
include/libvirt/libvirt.h.in
libvirt.spec.in
po/POTFILES.in
src/Makefile.am
src/conf/storage_conf.c
src/conf/storage_conf.h
src/storage/storage_backend.c
src/storage/storage_backend_rbd.c [new file with mode: 0644]
src/storage/storage_backend_rbd.h [new file with mode: 0644]
tests/storagepoolxml2xmlin/pool-rbd.xml [new file with mode: 0644]
tests/storagepoolxml2xmlout/pool-rbd.xml [new file with mode: 0644]
tools/virsh.c