Re: [PATCH v4 05/27] KVM: Remove KVM_MMIO as config option
From: Steffen Eiden
Date: Fri Jul 10 2026 - 05:13:59 EST
On Mon, Jul 06, 2026 at 09:53:23PM +0100, Marc Zyngier wrote:
> On Mon, 06 Jul 2026 09:52:05 +0100,
> Steffen Eiden <seiden@xxxxxxxxxxxxx> wrote:
> >
> > Defining KVM_MMIO is not flexible enough for multi-KVM systems with
> > different Kconfig options regarding KVM_MMIO. Therefore, remove KVM_MMIO
> > from the config space and use the macro HAVE_KVM_MMIO instead.
> >
>
> Given that there is only one KVM architecture that doesn't use
> KVM_MMIO, it feels like the polarity of this symbol is the wrong way
> around.
>
> Something like KVM_NO_MMIO, only exposed by S390 for its native
> support, should significantly reduce the churn.
Makes sense. I'll add KVM_NO_MMIO and conitionally compile based on the
config and not havng this symbol
Steffen