]> xenbits.xensource.com Git - libvirt.git/commit
libxl: add support for rbd qdisk
authorJim Fehlig <jfehlig@suse.com>
Thu, 11 Feb 2016 03:53:36 +0000 (20:53 -0700)
committerJim Fehlig <jfehlig@suse.com>
Mon, 22 Feb 2016 18:46:50 +0000 (11:46 -0700)
commitfb2bd208e52bda2d329b95d9545baa8bf04558af
tree77eedfd0af5403fc87aa0be5a745bb1fc8f6e4ed
parent6604a3dd9f83cf2ff3686f2caba50bc06922f0f7
libxl: add support for rbd qdisk

xl/libxl already supports qemu's network-based block backends
such as nbd and rbd. libvirt has supported configuring such
<disk>s for long time too. This patch adds support for rbd
disks in the libxl driver by generating a rbd device URL from
the virDomainDiskDef object. The URL is passed to libxl via the
pdev_path field of libxl_device_disk struct. libxl then passes
the URL to qemu for cosumption by the rbd backend.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_conf.c