[PATCH V3 0/4] Xen-xl parser

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

 



This is V3 of David's series to add support for parsing and formating
Xen's xl config format

https://www.redhat.com/archives/libvir-list/2014-September/msg00587.html

Patch 1 has been rebased, but otherwise unchanged.

In patch 2, I was able to get automake and flex play together using
LEX_OUTPUT_ROOT and AM_LFLAGS.  Files generated from flex are placed
in a separate convenience lib to avoid compilation with WARN_FLAGS.
The generated files are also excluded from syntax-check.

I switched the order of patches 3 and 4 since config parsing/
formating tests should come right after the implementation.  I also
added more diskspecs to the test configs.

Kiarie Kahurani (4):
  src/xenconfig: Export helper functions
  src/xenconfig: Xen-xl parser
  tests: Tests for the xen-xl parser
  libxl: Add support for parsing/formating Xen XL config

 .gitignore                           |   1 +
 cfg.mk                               |   3 +-
 configure.ac                         |   1 +
 po/POTFILES.in                       |   1 +
 src/Makefile.am                      |  25 +-
 src/libvirt_xenconfig.syms           |   4 +
 src/libxl/libxl_driver.c             |  32 ++-
 src/xenconfig/xen_common.c           | 149 +++++------
 src/xenconfig/xen_common.h           |  24 +-
 src/xenconfig/xen_xl.c               | 499 +++++++++++++++++++++++++++++++++++
 src/xenconfig/xen_xl.h               |  33 +++
 src/xenconfig/xen_xl_disk.l          | 256 ++++++++++++++++++
 src/xenconfig/xen_xl_disk_i.h        |  39 +++
 tests/Makefile.am                    |   9 +-
 tests/testutilsxen.c                 |  50 ++++
 tests/testutilsxen.h                 |   9 +-
 tests/xlconfigdata/test-new-disk.cfg |  26 ++
 tests/xlconfigdata/test-new-disk.xml |  51 ++++
 tests/xlconfigdata/test-spice.cfg    |  32 +++
 tests/xlconfigdata/test-spice.xml    |  45 ++++
 tests/xlconfigtest.c                 | 224 ++++++++++++++++
 21 files changed, 1421 insertions(+), 92 deletions(-)
 create mode 100644 src/xenconfig/xen_xl.c
 create mode 100644 src/xenconfig/xen_xl.h
 create mode 100644 src/xenconfig/xen_xl_disk.l
 create mode 100644 src/xenconfig/xen_xl_disk_i.h
 create mode 100644 tests/xlconfigdata/test-new-disk.cfg
 create mode 100644 tests/xlconfigdata/test-new-disk.xml
 create mode 100644 tests/xlconfigdata/test-spice.cfg
 create mode 100644 tests/xlconfigdata/test-spice.xml
 create mode 100644 tests/xlconfigtest.c

-- 
1.8.4.5

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