On Wed, Jan 24, 2024 at 4:54 PM Philippe Mathieu-Daudé <philmd@xxxxxxxxxx> wrote: > > Trivial replacement of KVM_HAVE_MCE_INJECTION by > KVM_ARCH_HAVE_MCE_INJECTION (not the "ARCH_" difference). I am confused, why can't you just rename the symbol and instead you go through this change? Paolo > Philippe Mathieu-Daudé (2): > accel/kvm: Define KVM_ARCH_HAVE_MCE_INJECTION in each target > accel/kvm: Directly check KVM_ARCH_HAVE_MCE_INJECTION value in place > > include/sysemu/kvm.h | 7 ++++++- > target/arm/cpu-param.h | 5 +++++ > target/arm/cpu.h | 4 ---- > target/i386/cpu-param.h | 2 ++ > target/i386/cpu.h | 2 -- > target/loongarch/cpu-param.h | 2 ++ > target/mips/cpu-param.h | 2 ++ > target/ppc/cpu-param.h | 2 ++ > target/riscv/cpu-param.h | 2 ++ > target/s390x/cpu-param.h | 2 ++ > accel/kvm/kvm-all.c | 10 +++++----- > 11 files changed, 28 insertions(+), 12 deletions(-) > > -- > 2.41.0 >