kvm_flush_coalesced_mmio_buffer() is only called from qemu_flush_coalesced_mmio_buffer() where it is protected by a kvm_enabled() check. When KVM is not available, the call is elided, there is no need for a stub definition. Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx> --- accel/stubs/kvm-stub.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c index 235dc661bc..c0e2df3fbf 100644 --- a/accel/stubs/kvm-stub.c +++ b/accel/stubs/kvm-stub.c @@ -29,10 +29,6 @@ bool kvm_ioeventfd_any_length_allowed; bool kvm_msi_use_devid; bool kvm_direct_msi_allowed; -void kvm_flush_coalesced_mmio_buffer(void) -{ -} - void kvm_cpu_synchronize_state(CPUState *cpu) { } -- 2.38.1