diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-19 17:57:43 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-12-19 17:57:43 +0000 |
commit | 71c34911c19b6cf6ea60ef608154df7e00fb42c8 (patch) | |
tree | 0923e8d9d3543815fcb7c67bf49a1fe7622733f4 /target/arm/kvm_arm.h | |
parent | 353e03cd45f307264cd38eebca741fabe74114b4 (diff) | |
download | qemu-71c34911c19b6cf6ea60ef608154df7e00fb42c8.zip qemu-71c34911c19b6cf6ea60ef608154df7e00fb42c8.tar.gz qemu-71c34911c19b6cf6ea60ef608154df7e00fb42c8.tar.bz2 |
target/arm/kvm: Unexport and tidy kvm_arm_sync_mpstate_to_{kvm, qemu}
Drop fprintfs and actually use the return values in the callers.
This is OK to do since commit 7191f24c7fcf which added the
error-check to the generic accel/kvm functions that eventually
call into these ones.
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>
[PMM: tweak commit message]
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 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/target/arm/kvm_arm.h b/target/arm/kvm_arm.h index b4339d4..8a44a6b 100644 --- a/target/arm/kvm_arm.h +++ b/target/arm/kvm_arm.h @@ -200,26 +200,6 @@ bool kvm_arm_sve_supported(void); */ int kvm_arm_get_max_vm_ipa_size(MachineState *ms, bool *fixed_ipa); -/** - * kvm_arm_sync_mpstate_to_kvm: - * @cpu: ARMCPU - * - * If supported set the KVM MP_STATE based on QEMU's model. - * - * Returns 0 on success and -1 on failure. - */ -int kvm_arm_sync_mpstate_to_kvm(ARMCPU *cpu); - -/** - * kvm_arm_sync_mpstate_to_qemu: - * @cpu: ARMCPU - * - * If supported get the MP_STATE from KVM and store in QEMU's model. - * - * Returns 0 on success and aborts on failure. - */ -int kvm_arm_sync_mpstate_to_qemu(ARMCPU *cpu); - void kvm_arm_vm_state_change(void *opaque, bool running, RunState state); int kvm_arm_vgic_probe(void); |