diff mbox series

kvm: remove now unnecessary stubs

Message ID 20200923091743.1593109-1-pbonzini@redhat.com
State New
Headers show
Series kvm: remove now unnecessary stubs | expand

Commit Message

Paolo Bonzini Sept. 23, 2020, 9:17 a.m. UTC
These two stubs are now used only in accel/kvm/kvm-all.c
and accel/kvm/kvm-cpus.c.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 accel/stubs/kvm-stub.c | 9 ---------
 1 file changed, 9 deletions(-)

Comments

Philippe Mathieu-Daudé Sept. 23, 2020, 10:18 a.m. UTC | #1
On 9/23/20 11:17 AM, Paolo Bonzini wrote:
> These two stubs are now used only in accel/kvm/kvm-all.c
> and accel/kvm/kvm-cpus.c.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> ---
>  accel/stubs/kvm-stub.c | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c
> index 680e099463..d3874526f5 100644
> --- a/accel/stubs/kvm-stub.c
> +++ b/accel/stubs/kvm-stub.c
> @@ -36,10 +36,6 @@ void kvm_flush_coalesced_mmio_buffer(void)
>  {
>  }
>  
> -void kvm_cpu_synchronize_state(CPUState *cpu)
> -{
> -}
> -
>  bool kvm_has_sync_mmu(void)
>  {
>      return false;
> @@ -149,11 +145,6 @@ bool kvm_has_free_slot(MachineState *ms)
>      return false;
>  }
>  
> -void kvm_init_cpu_signals(CPUState *cpu)
> -{
> -    abort();
> -}
> -
>  bool kvm_arm_supports_user_irq(void)
>  {
>      return false;
>
diff mbox series

Patch

diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c
index 680e099463..d3874526f5 100644
--- a/accel/stubs/kvm-stub.c
+++ b/accel/stubs/kvm-stub.c
@@ -36,10 +36,6 @@  void kvm_flush_coalesced_mmio_buffer(void)
 {
 }
 
-void kvm_cpu_synchronize_state(CPUState *cpu)
-{
-}
-
 bool kvm_has_sync_mmu(void)
 {
     return false;
@@ -149,11 +145,6 @@  bool kvm_has_free_slot(MachineState *ms)
     return false;
 }
 
-void kvm_init_cpu_signals(CPUState *cpu)
-{
-    abort();
-}
-
 bool kvm_arm_supports_user_irq(void)
 {
     return false;