]> git.ipfire.org Git - thirdparty/qemu.git/commit
kvm/kvm-all: make kvm_park/unpark_vcpu local to kvm-all.c
authorAni Sinha <anisinha@redhat.com>
Fri, 15 Aug 2025 06:54:45 +0000 (12:24 +0530)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 Aug 2025 08:57:03 +0000 (10:57 +0200)
commit8e98961f6eb691b59ff0230ee22917061bfae5f8
tree7c992347a71d5f04fa43706ef83454481fcd4d90
parentc12cbaa007c9da97a11e74119ea3aed9fcc3ac4c
kvm/kvm-all: make kvm_park/unpark_vcpu local to kvm-all.c

kvm_park_vcpu() and kvm_unpark_vcpu() is only used in kvm-all.c. Declare it
static, remove it from common header file and make it local to kvm-all.c

Signed-off-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250815065445.8978-1-anisinha@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
include/system/kvm.h