[PATCH V2 0/4] libxl: support qemu's network-based block backends

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

 



xl/libxl already supports qemu's network-based block backends
such as nbd and rbd. libvirt has supported configuring network
disks for long time too. This series marries the two in the
libxl driver and in the xl<->xml converter. Only rbd supported
is added in this series. Support for other backends such as nbd
and iscsi can be added as a follow-up improvement.

Patch 1 is super trivial and contains no functional changes.

Patch 2 changes the xl disk configuration produced by the
xml->xl converter to use the formal key=value syntax described
in xl-disk-configuration.txt.

Patch 3 adds support for converting rbd info between xl and xml
config formats.

Patch 4 adds support for rbd disks in the libxl driver.

In V2:
Change commit msg, test, and code in patch3 to escape literal
backslashes with a backslash.

Jim Fehlig (4):
  xenconfig: replace text 'xm' with 'xl' in xlconfigtest
  xenconfig: produce key=value disk config syntax in xl formatter
  xenconfig: support xl<->xml conversion of rbd disk devices
  libxl: add support for rbd qdisk

 src/libxl/libxl_conf.c                             | 192 ++++++++++++++++++++-
 src/xenconfig/xen_xl.c                             | 176 +++++++++++++++++--
 .../test-disk-positional-parms-full.cfg            |  26 +++
 .../test-disk-positional-parms-full.xml            |  54 ++++++
 .../test-disk-positional-parms-partial.cfg         |  26 +++
 .../test-disk-positional-parms-partial.xml         |  54 ++++++
 .../test-fullvirt-direct-kernel-boot.cfg           |   2 +-
 tests/xlconfigdata/test-fullvirt-multiusb.cfg      |   2 +-
 tests/xlconfigdata/test-new-disk.cfg               |   2 +-
 tests/xlconfigdata/test-paravirt-cmdline.cfg       |   2 +-
 tests/xlconfigdata/test-paravirt-maxvcpus.cfg      |   2 +-
 tests/xlconfigdata/test-rbd-multihost-noauth.cfg   |  26 +++
 tests/xlconfigdata/test-rbd-multihost-noauth.xml   |  51 ++++++
 tests/xlconfigdata/test-spice-features.cfg         |   2 +-
 tests/xlconfigdata/test-spice.cfg                  |   2 +-
 tests/xlconfigdata/test-vif-rate.cfg               |   2 +-
 tests/xlconfigtest.c                               |  37 ++--
 17 files changed, 618 insertions(+), 40 deletions(-)
 create mode 100644 tests/xlconfigdata/test-disk-positional-parms-full.cfg
 create mode 100644 tests/xlconfigdata/test-disk-positional-parms-full.xml
 create mode 100644 tests/xlconfigdata/test-disk-positional-parms-partial.cfg
 create mode 100644 tests/xlconfigdata/test-disk-positional-parms-partial.xml
 create mode 100644 tests/xlconfigdata/test-rbd-multihost-noauth.cfg
 create mode 100644 tests/xlconfigdata/test-rbd-multihost-noauth.xml

-- 
2.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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]