diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-19 17:57:40 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-12-19 17:57:40 +0000 |
commit | 21beccd3842ca9bdc9e2f791550008c63c29fb6b (patch) | |
tree | 5e42f10ee45f144335846fd7ed160fdad54ce339 /target/arm/kvm_arm.h | |
parent | 46512471c4bf11771da85fab5d040180134ca83c (diff) |
target/arm/kvm: Inline kvm_arm_steal_time_supported
This function is only used once, and is quite simple.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/kvm_arm.h')
-rw-r--r-- | target/arm/kvm_arm.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target/arm/kvm_arm.h b/target/arm/kvm_arm.h index e7c32f6ed0..58c087207f 100644 --- a/target/arm/kvm_arm.h +++ b/target/arm/kvm_arm.h @@ -275,14 +275,6 @@ void kvm_arm_add_vcpu_properties(Object *obj); void kvm_arm_steal_time_finalize(ARMCPU *cpu, Error **errp); /** - * kvm_arm_steal_time_supported: - * - * Returns: true if KVM can enable steal time reporting - * and false otherwise. - */ -bool kvm_arm_steal_time_supported(void); - -/** * kvm_arm_aarch32_supported: * * Returns: true if KVM can enable AArch32 mode @@ -374,11 +366,6 @@ static inline bool kvm_arm_sve_supported(void) return false; } -static inline bool kvm_arm_steal_time_supported(void) -{ - return false; -} - /* * These functions should never actually be called without KVM support. */ |