diff options
author | Wido den Hollander <wido@widodh.nl> | 2012-05-14 11:06:42 +0200 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-05-21 12:37:38 -0600 |
commit | 74951eadef85e2d100c7dc7bd9ae1093fbda722f (patch) | |
tree | 63ec5dfe198ae5178164e663eaa5d6e47578eaeb /include | |
parent | build: fix unused variable after last patch (diff) | |
download | libvirt-74951eadef85e2d100c7dc7bd9ae1093fbda722f.tar.gz libvirt-74951eadef85e2d100c7dc7bd9ae1093fbda722f.tar.bz2 libvirt-74951eadef85e2d100c7dc7bd9ae1093fbda722f.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/libvirt/libvirt.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index a817db80b..da3ce29fd 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -2361,6 +2361,7 @@ typedef enum { VIR_STORAGE_VOL_FILE = 0, /* Regular file based volumes */ VIR_STORAGE_VOL_BLOCK = 1, /* Block based volumes */ VIR_STORAGE_VOL_DIR = 2, /* Directory-passthrough based volume */ + VIR_STORAGE_VOL_NETWORK = 3, /* Network volumes like RBD (RADOS Block Device) */ #ifdef VIR_ENUM_SENTINELS VIR_STORAGE_VOL_LAST |