Re: [libvirt] [PATCH v2 4/4] libxl: Add a test suite for libxl option generator

2014-06-18 Thread Ian Campbell
On Tue, 2014-06-17 at 12:40 -0600, Jim Fehlig wrote: Ian Campbell wrote: On Mon, 2014-06-16 at 17:11 -0600, Jim Fehlig wrote: This function exists in Xen 4.2 as well, in libxl.h. Any ideas on how to handle this? I'm not aware of an existing macro to check for func

Re: [libvirt] [PATCH v2 4/4] libxl: Add a test suite for libxl option generator

2014-06-18 Thread Daniel P. Berrange
On Tue, Jun 17, 2014 at 12:40:30PM -0600, Jim Fehlig wrote: Ian Campbell wrote: On Mon, 2014-06-16 at 17:11 -0600, Jim Fehlig wrote: This function exists in Xen 4.2 as well, in libxl.h. Any ideas on how to handle this? I'm not aware of an existing macro to check for

Re: [libvirt] [PATCH v2 4/4] libxl: Add a test suite for libxl option generator

2014-06-17 Thread Ian Campbell
On Mon, 2014-06-16 at 17:11 -0600, Jim Fehlig wrote: This function exists in Xen 4.2 as well, in libxl.h. Any ideas on how to handle this? I'm not aware of an existing macro to check for func 'foo' defined in header 'bar'. Is writing a custom macro along these lines a good solution?

Re: [libvirt] [PATCH v2 4/4] libxl: Add a test suite for libxl option generator

2014-06-17 Thread Jim Fehlig
Ian Campbell wrote: On Mon, 2014-06-16 at 17:11 -0600, Jim Fehlig wrote: This function exists in Xen 4.2 as well, in libxl.h. Any ideas on how to handle this? I'm not aware of an existing macro to check for func 'foo' defined in header 'bar'. Is writing a custom macro along

[libvirt] [PATCH v2 4/4] libxl: Add a test suite for libxl option generator

2014-06-03 Thread Daniel P. Berrange
The libxl library allows a libxl_domain_config object to be serialized to a JSON string. Use this to allow testing of the XML - libxl_domain_config conversion process Signed-off-by: Daniel P. Berrange berra...@redhat.com --- configure.ac | 2 + tests/Makefile.am

Re: [libvirt] [PATCH v2 4/4] libxl: Add a test suite for libxl option generator

2014-06-03 Thread Jim Fehlig
Daniel P. Berrange wrote: The libxl library allows a libxl_domain_config object to be serialized to a JSON string. Use this to allow testing of the XML - libxl_domain_config conversion process Signed-off-by: Daniel P. Berrange berra...@redhat.com --- configure.ac |