[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] kvm: remove now unnecessary stubs
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] kvm: remove now unnecessary stubs |
Date: |
Wed, 23 Sep 2020 12:18:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
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;
>