[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix qemu build with xen-4.18.0
From: |
Peter Maydell |
Subject: |
Re: [PATCH] fix qemu build with xen-4.18.0 |
Date: |
Fri, 8 Dec 2023 10:59:03 +0000 |
On Fri, 8 Dec 2023 at 09:25, Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> CC'ing the Xen folks
>
> On Thu, Dec 07, 2023 at 11:12:48PM +0000, Michael Young wrote:
> > diff --git a/include/hw/xen/xen_native.h b/include/hw/xen/xen_native.h
> > index 6f09c48823..04b1ef4d34 100644
> > --- a/include/hw/xen/xen_native.h
> > +++ b/include/hw/xen/xen_native.h
> > @@ -532,7 +532,7 @@ static inline int
> > xendevicemodel_set_irq_level(xendevicemodel_handle *dmod,
> > }
> > #endif
> >
> > -#if CONFIG_XEN_CTRL_INTERFACE_VERSION <= 41700
> > +#if CONFIG_XEN_CTRL_INTERFACE_VERSION >= 41700
>
> This change is not correct
>
> We can see the upstream change was introduced in 4.17:
>
> $ git describe 2128143c114
> 4.16.0-rc4-967-g2128143c11
>
> IOW, if we have 4.17 or newer these constants already
> exist. If we have 4.16 or older, then we need to define
> them to provide back compat.
Wouldn't that suggest we want "< 41700" ? Or did 4.17 have
some issue that means we need the back-compat there too?
thanks
-- PMM
- [PATCH] fix qemu build with xen-4.18.0, Michael Young, 2023/12/07
- Re: [PATCH] fix qemu build with xen-4.18.0, Richard W.M. Jones, 2023/12/08
- Re: [PATCH] fix qemu build with xen-4.18.0, Daniel P . Berrangé, 2023/12/08
- Re: [PATCH] fix qemu build with xen-4.18.0,
Peter Maydell <=
- Re: [PATCH] fix qemu build with xen-4.18.0, Stefano Stabellini, 2023/12/08
- Re: [PATCH] fix qemu build with xen-4.18.0, Anthony PERARD, 2023/12/12
- Re: [PATCH] fix qemu build with xen-4.18.0, Peter Maydell, 2023/12/12
- Re: [PATCH] fix qemu build with xen-4.18.0, Volodymyr Babchuk, 2023/12/12
- Re: [PATCH] fix qemu build with xen-4.18.0, Stefan Hajnoczi, 2023/12/12
- Re: [PATCH] fix qemu build with xen-4.18.0, Volodymyr Babchuk, 2023/12/12
- Re: [PATCH] fix qemu build with xen-4.18.0, Stefan Hajnoczi, 2023/12/12
- Re: [PATCH] fix qemu build with xen-4.18.0, Anthony PERARD, 2023/12/12