Re: [PATCH v9 03/24] KVM: Replace CONFIG_KVM_MMIO with KVM_NO_MMIO
From: Paolo Bonzini
Date: Mon Oct 12 2026 - 13:44:46 EST
On 9/30/26 19:34, Steffen Eiden wrote:
Defining KVM_MMIO is not flexible enough for multi-KVM systems where one
KVM implements MMIO but others do not. Therefore, remove KVM_MMIO from
the config space and use the macro KVM_NO_MMIO instead.
Define KVM_NO_MMIO for KVM/s390 and for selected KVM/powerpc
configurations.
...
+#if !defined(CONFIG_KVM_BOOK3S_32_HANDLER) && \This can be simplified to
+ !defined(CONFIG_KVM_BOOK3S_PR_POSSIBLE) && \
+ !defined(CONFIG_KVM_E500V2) && \
+ !defined(CONFIG_KVM_E500MC)
+#define KVM_NO_MMIO
+#endif
#if defined(KVM_BOOK3S_HV_POSSIBLE) && \
!defined(CONFIG_KVM_BOOK3S_PR_POSSIBLE)
which I have done.
Paolo