Kiarie Kahurani (4):
src/xenconfig: Export helper functions
src/xenconfig: Xen-xl parser
src/xenconfig: Introduce xen-xl on virsh command line
tests: Tests for the xen-xl parser
configure.ac | 5 +-
src/Makefile.am | 21 +-
src/libvirt_xenconfig.syms | 4 +
src/libxl/libxl_driver.c | 46 ++-
src/xenconfig/libxlu_disk_i.h | 28 ++
src/xenconfig/libxlu_disk_l.l | 292 ++++++++++++++
src/xenconfig/xen_common.c | 147 +++----
src/xenconfig/xen_common.h | 24 +-
src/xenconfig/xen_xl.c | 476 +++++++++++++++++++++++
src/xenconfig/xen_xl.h | 29 ++
tests/Makefile.am | 9 +-
tests/testutilsxen.c | 50 +++
tests/testutilsxen.h | 9 +-
tests/xlconfigdata/test-disk-key-value.cfg | 27 ++
tests/xlconfigdata/test-disk-key-value.xml | 48 +++
tests/xlconfigdata/test-fullvirt-cdrom-empty.cfg | 23 ++
tests/xlconfigdata/test-fullvirt-cdrom-empty.xml | 0
tests/xlconfigdata/test-fullvirt-new-disk.cfg | 28 ++
tests/xlconfigdata/test-fullvirt-new-disk.xml | 46 +++
tests/xlconfigdata/test-fullvirt-spice.cfg | 32 ++
tests/xlconfigdata/test-fullvirt-spice.xml | 48 +++
tests/xlconfigdata/test.cfg | 48 +++
tests/xlconfigdata/test.xml | 48 +++
tests/xlconfigtest.c | 222 +++++++++++
24 files changed, 1613 insertions(+), 97 deletions(-)
create mode 100644 src/xenconfig/libxlu_disk_i.h
create mode 100644 src/xenconfig/libxlu_disk_l.l
create mode 100644 src/xenconfig/xen_xl.c
create mode 100644 src/xenconfig/xen_xl.h
create mode 100644 tests/xlconfigdata/test-disk-key-value.cfg
create mode 100644 tests/xlconfigdata/test-disk-key-value.xml
create mode 100644 tests/xlconfigdata/test-fullvirt-cdrom-empty.cfg
create mode 100644 tests/xlconfigdata/test-fullvirt-cdrom-empty.xml
create mode 100644 tests/xlconfigdata/test-fullvirt-new-disk.cfg
create mode 100644 tests/xlconfigdata/test-fullvirt-new-disk.xml
create mode 100644 tests/xlconfigdata/test-fullvirt-spice.cfg
create mode 100644 tests/xlconfigdata/test-fullvirt-spice.xml
create mode 100644 tests/xlconfigdata/test.cfg
create mode 100644 tests/xlconfigdata/test.xml
create mode 100644 tests/xlconfigtest.c
This may not be in a very good shape but a review would be good for me.
I will follow up with a finer series.
changes since prepost
-changed to use a flex based scanner(from xen libxl) instead of
parsing disk config by hand
-split the patches
--
1.8.4.5