On 3/20/25 15:29, Pierrick Bouvier wrote:
This define is used only in accel/kvm/kvm-all.c, so we push directly the
definition there. Add more visibility to kvm_arch_on_sigbus_vcpu() to
allow removing this define from any header.

The architectures defining KVM_HAVE_MCE_INJECTION are i386, x86_64 and
aarch64.

Signed-off-by: Pierrick Bouvier<pierrick.bouv...@linaro.org>
---
  include/system/kvm.h | 2 --
  target/arm/cpu.h     | 4 ----
  target/i386/cpu.h    | 2 --
  accel/kvm/kvm-all.c  | 5 +++++
  4 files changed, 5 insertions(+), 8 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to