[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable.
On Wed, 26 Jan 2011, Anthony Liguori wrote: > On 01/25/2011 08:29 AM, anthony.perard@xxxxxxxxxx wrote: > > From: Anthony PERARD<anthony.perard@xxxxxxxxxx> > > > > 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<anthony.perard@xxxxxxxxxx> > > Signed-off-by: Stefano Stabellini<stefano.stabellini@xxxxxxxxxxxxx> > > --- > > diff --git a/hw/xen_backend.c b/hw/xen_backend.c > > index 860b038..7e78546 100644 > > --- a/hw/xen_backend.c > > +++ b/hw/xen_backend.c > > @@ -43,7 +43,8 @@ > > /* ------------------------------------------------------------- */ > > > > /* public */ > > -int xen_xc; > > +qemu_xc_interface xen_xc = XC_HANDLER_INITIAL_VALUE; > > +qemu_xc_gnttab xen_xcg = XC_HANDLER_INITIAL_VALUE; > > > > Where ever qemu_xc_interface comes from, the typename needs to change. I can call it XCInterface, even if is not always a struct. Same for qemu_xc_gnttab and xc_evtchn. > > +/* Xen unstable */ > > +#if CONFIG_XEN_CTRL_INTERFACE_VERSION< 410 > > +typedef int qemu_xc_interface; > > > > Ah, right here :-) > > Regards, Thanks, -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |