[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] accel/stubs: Remove kvm_flush_coalesced_mmio_buffer() stub
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 1/2] accel/stubs: Remove kvm_flush_coalesced_mmio_buffer() stub |
Date: |
Wed, 5 Apr 2023 18:13:55 +0200 |
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@linaro.org>
---
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