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

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

 



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?  A bad solution I tried was hacking
> the test to check libxl version via libxl_get_version_info(), but that
> API does not work if not running Xen.

Given that it exists in everything from 4.2 onwards why do you need to
check for it?

>From the PoV of these tests (or any application generally) I'd have
thought you wouldn't really care if you get this function from libxl.h
directly or indirectly via libxl.h including _libxl_types.h.

Ian.

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