All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/5] Testing libvirt XML -> libxl_domain_config conversion
@ 2014-09-04  3:07 Jim Fehlig
  2014-09-04  3:07 ` [PATCH V3 1/5] util: Introduce virJSONStringCompare for JSON doc comparisons Jim Fehlig
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Jim Fehlig @ 2014-09-04  3:07 UTC (permalink / raw)
  To: libvir-list; +Cc: xen-devel

This is version 3 of the work started by danpb:

  https://www.redhat.com/archives/libvir-list/2014-May/msg01102.html

This series tests the conversion of libvirt XML to libxl_domain_config
objects by the libvirt libxl driver.

Changed in v3:

 - Change virJSONStringCompare to accept a list of context paths to
   ignore

 - Report error in virJSONStringCompare in libyajl is not available

 - Fix a bug (4/5) exposed by the new tests

 - Add tests for conversion of both PV and HVM config

 - Define json context paths to ignore based on features defined
   in libxl.h

Daniel P. Berrange (4):
  util: Introduce virJSONStringCompare for JSON doc comparisons
  util: Allow port allocator to skip bind() check
  tests: Add more test suite mock helpers
  libxl: Add a test suite for libxl option generator

Jim Fehlig (1):
  libxl: fix mapping of libvirt and libxl lifecycle actions

 configure.ac                           |   2 +
 src/libvirt_private.syms               |   1 +
 src/libxl/libxl_conf.c                 |  62 +++++++-
 src/libxl/libxl_driver.c               |   5 +-
 src/qemu/qemu_driver.c                 |   9 +-
 src/util/virjson.c                     | 242 +++++++++++++++++++++++++++++++
 src/util/virjson.h                     |  16 +++
 src/util/virportallocator.c            |  14 +-
 src/util/virportallocator.h            |   7 +-
 tests/Makefile.am                      |  25 +++-
 tests/libxlxml2jsondata/basic-hvm.json | 217 ++++++++++++++++++++++++++++
 tests/libxlxml2jsondata/basic-hvm.xml  |  36 +++++
 tests/libxlxml2jsondata/basic-pv.json  | 163 +++++++++++++++++++++
 tests/libxlxml2jsondata/basic-pv.xml   |  28 ++++
 tests/libxlxml2jsontest.c              | 251 +++++++++++++++++++++++++++++++++
 tests/virfirewalltest.c                |   4 +-
 tests/virmock.h                        |  54 +++++--
 tests/virmocklibxl.c                   |  87 ++++++++++++
 tests/virportallocatortest.c           |   4 +-
 tests/virsystemdtest.c                 |   4 +-
 20 files changed, 1198 insertions(+), 33 deletions(-)
 create mode 100644 tests/libxlxml2jsondata/basic-hvm.json
 create mode 100644 tests/libxlxml2jsondata/basic-hvm.xml
 create mode 100644 tests/libxlxml2jsondata/basic-pv.json
 create mode 100644 tests/libxlxml2jsondata/basic-pv.xml
 create mode 100644 tests/libxlxml2jsontest.c
 create mode 100644 tests/virmocklibxl.c

-- 
1.8.4.5

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-09-11 22:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-04  3:07 [PATCH V3 0/5] Testing libvirt XML -> libxl_domain_config conversion Jim Fehlig
2014-09-04  3:07 ` [PATCH V3 1/5] util: Introduce virJSONStringCompare for JSON doc comparisons Jim Fehlig
2014-09-04  3:07 ` [PATCH V3 2/5] util: Allow port allocator to skip bind() check Jim Fehlig
2014-09-11 10:46   ` Daniel P. Berrange
2014-09-04  3:07 ` [PATCH V3 3/5] tests: Add more test suite mock helpers Jim Fehlig
2014-09-11 10:46   ` Daniel P. Berrange
2014-09-04  3:07 ` [PATCH V3 4/5] libxl: fix mapping of lifecycle actions Jim Fehlig
2014-09-04  3:07 ` [PATCH V3 5/5] libxl: Add a test suite for libxl option generator Jim Fehlig
2014-09-11 10:58   ` Daniel P. Berrange
     [not found]   ` <20140911105842.GE7035@redhat.com>
2014-09-11 22:01     ` Jim Fehlig
     [not found] ` <1409800059-16884-2-git-send-email-jfehlig@suse.com>
2014-09-11 10:45   ` [PATCH V3 1/5] util: Introduce virJSONStringCompare for JSON doc comparisons Daniel P. Berrange
     [not found]   ` <20140911104519.GA7035@redhat.com>
2014-09-11 21:57     ` Jim Fehlig
     [not found] ` <1409800059-16884-5-git-send-email-jfehlig@suse.com>
2014-09-11 10:47   ` [libvirt] [PATCH V3 4/5] libxl: fix mapping of lifecycle actions Daniel P. Berrange
     [not found]   ` <20140911104716.GD7035@redhat.com>
2014-09-11 21:56     ` Jim Fehlig
2014-09-11 21:59   ` Jim Fehlig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.