qemu-devel
[Top][All Lists]
Advanced

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

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


From: Anthony PERARD
Subject: Re: [Qemu-devel] [PATCH V9 04/16] xen: Support new libxc calls from xen unstable.
Date: Thu, 27 Jan 2011 17:24:48 +0000 (GMT)
User-agent: Alpine 1.10 (DEB 962 2008-03-14)

On Wed, 26 Jan 2011, Anthony Liguori wrote:

> On 01/25/2011 08:29 AM, address@hidden wrote:
> > From: Anthony PERARD<address@hidden>
> >
> > 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<address@hidden>
> > Signed-off-by: Stefano Stabellini<address@hidden>
> > ---


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]