Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable.

2011-01-27 Thread Anthony PERARD
On Wed, 26 Jan 2011, Anthony Liguori wrote: > On 01/25/2011 08:29 AM, anthony.per...@citrix.com wrote: > > From: Anthony PERARD > > > > Update the libxenctrl calls in Qemu to use the new interface, otherwise > > Qemu wouldn't be able to build against new versions of the library. > > > > We also ch

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable.

2011-01-27 Thread Stefano Stabellini
On Thu, 27 Jan 2011, Keir Fraser wrote: > On 27/01/2011 12:03, "Stefano Stabellini" > wrote: > > >> Really? There's no VERSION #define? Can please fix this upstream so we > >> don't have to do this forever. > > > > Yeah, it is a bit of a shame but there isn't an #define VERSION in > > xenctrl

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable.

2011-01-27 Thread Keir Fraser
On 27/01/2011 12:03, "Stefano Stabellini" wrote: >> Really? There's no VERSION #define? Can please fix this upstream so we >> don't have to do this forever. > > Yeah, it is a bit of a shame but there isn't an #define VERSION in > xenctrl.h. > If we introduce it now, the first Xen release to h

Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable.

2011-01-27 Thread Stefano Stabellini
On Wed, 26 Jan 2011, Anthony Liguori wrote: > > +xen_ctrl_version=410 > > +xen=yes > > + > > + # Xen 4.0.0 > > + elif ( > > + cat> $TMPC< > +#include > > +#include > > +#include > > +#include > > +#if !defined(HVM_MAX_VCPUS) > > +# error HVM_MAX_VCPUS not defined > > +#endif > > +in

Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable.

2011-01-26 Thread Anthony Liguori
On 01/25/2011 08:29 AM, anthony.per...@citrix.com wrote: From: Anthony PERARD Update the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We also check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable

[Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable.

2011-01-25 Thread anthony . perard
From: Anthony PERARD Update the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We also check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable. Signed-off-by: Anthony PERARD Signed-off-by: Stefano S