On 3/26/21 1:36 PM, Claudio Fontana wrote: > the functions used in machine.c are now protected via > if (kvm_enabled()), so the stub is not needed. > > Signed-off-by: Claudio Fontana<cfontana@suse.de> > --- > target/arm/kvm-stub.c | 24 ------------------------ > 1 file changed, 24 deletions(-) > delete mode 100644 target/arm/kvm-stub.c Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/target/arm/kvm-stub.c b/target/arm/kvm-stub.c deleted file mode 100644 index 56a7099e6b..0000000000 --- a/target/arm/kvm-stub.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * QEMU KVM ARM specific function stubs - * - * Copyright Linaro Limited 2013 - * - * Author: Peter Maydell <peter.maydell@linaro.org> - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - * - */ -#include "qemu/osdep.h" -#include "cpu.h" -#include "kvm_arm.h" - -bool write_kvmstate_to_list(ARMCPU *cpu) -{ - abort(); -} - -bool write_list_to_kvmstate(ARMCPU *cpu, int level) -{ - abort(); -}
the functions used in machine.c are now protected via if (kvm_enabled()), so the stub is not needed. Signed-off-by: Claudio Fontana <cfontana@suse.de> --- target/arm/kvm-stub.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 target/arm/kvm-stub.c