Re: [Stratos-dev] [PATCH V3 2/2] xen: privcmd: Add support for ioeventfd

From: Viresh Kumar
Date: Tue Oct 10 2023 - 10:22:53 EST


Hi Bill,

On Tue, 10 Oct 2023 at 18:52, Bill Mills <bill.mills@xxxxxxxxxx> wrote:
> On 10/9/23 7:29 AM, Viresh Kumar via Stratos-dev wrote:

> > -config XEN_PRIVCMD_IRQFD
> > - bool "Xen irqfd support"
> > +config XEN_PRIVCMD_EVENTFD
> > + bool "Xen Ioeventfd and irqfd support"
>
> You certainly know about kernel policies better than I but why the
> CONGIG_ name change?
>
> With this change all downstream distros need to find this and re-enable
> it if they want to keep a working Xen system.
>
> I presume the kernel can still work in the old way and not use your new
> mode correct?
>
> I would certainly change the description but I wonder about keeping the
> CONFIG_ name the same.
>
> No issue if I am obviously wrong and this is done all the time.

You are absolutely right Bill, but this is a special case. The CONFIG option
here (XEN_PRIVCMD_IRQFD) is recently added (by me) and is currently
present in linux-next only. Hopefully this and the other commit will make it
to Linus's master together.

No one using this currently downstream and so life won't be that complicated
for anyone and so I wanted to put this under the same config option, since they
are related too.

Hope it makes sense.

--
Viresh