From: Pierrick Bouvier Date: Mon, 17 Mar 2025 18:34:09 +0000 (-0700) Subject: system/kvm: make kvm_flush_coalesced_mmio_buffer() accessible for common code X-Git-Tag: v10.1.0-rc0~117^2~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d21be2b61976c57ede5db6e8aa96e57e5e27bf16;p=thirdparty%2Fqemu.git system/kvm: make kvm_flush_coalesced_mmio_buffer() accessible for common code This function is used by system/physmem.c will be turn into common code in next commit. Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Signed-off-by: Richard Henderson Message-ID: <20250317183417.285700-11-pierrick.bouvier@linaro.org> --- diff --git a/include/system/kvm.h b/include/system/kvm.h index ab17c09a551..21da3b8b052 100644 --- a/include/system/kvm.h +++ b/include/system/kvm.h @@ -210,11 +210,11 @@ bool kvm_arm_supports_user_irq(void); int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr); int kvm_on_sigbus(int code, void *addr); +void kvm_flush_coalesced_mmio_buffer(void); + #ifdef COMPILING_PER_TARGET #include "cpu.h" -void kvm_flush_coalesced_mmio_buffer(void); - /** * kvm_update_guest_debug(): ensure KVM debug structures updated * @cs: the CPUState for this cpu