Skip to contentSkip to conversation

KVM: VMX: Remove unused declaration of vmx_request_immediate_exit()

PATCH Applied Binbin Wu 2 participants 2 messages May 6, 2024 – Jun 12, 2024

Subsystems (3)
lore
Share & tools
lore

Binbin Wu

author
#0 lore raw

PATCH 1/1 KVM: VMX: Remove unused declaration of vmx_request_immediate_exit()

After commit 0ec3d6d1f169 "KVM: x86: Fully defer to vendor code to decide how to force immediate exit", vmx_request_immediate_exit() was removed. Commit 5f18c642ff7e "KVM: VMX: Move out vmx_x86_ops to 'main.c' to dispatch VMX and TDX" added its declaration by accident. Remove it.

---
 arch/x86/kvm/vmx/x86_ops.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/kvm/vmx/x86_ops.h +0 -1
index 502704596c83..dfab2c2941ad 100644
@@ -111,7 +111,6 @@ u64 vmx_get_l2_tsc_offset(struct kvm_vcpu *vcpu);
 u64 vmx_get_l2_tsc_multiplier(struct kvm_vcpu *vcpu);
 void vmx_write_tsc_offset(struct kvm_vcpu *vcpu);
 void vmx_write_tsc_multiplier(struct kvm_vcpu *vcpu);
-void vmx_request_immediate_exit(struct kvm_vcpu *vcpu);
 void vmx_sched_in(struct kvm_vcpu *vcpu, int cpu);
 void vmx_update_cpu_dirty_logging(struct kvm_vcpu *vcpu);
 #ifdef CONFIG_X86_64

base-commit: d91a9cc16417b8247213a0144a1f0fd61dc855dd

Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Binbin Wu

After commit 0ec3d6d1f169 "KVM: x86: Fully defer to vendor code to decide how to force immediate exit", vmx_request_immediate_exit() was removed. Commit 5f18c642ff7e "KVM: VMX: Move out vmx_x86_ops to 'main.c' to dispatch VMX and TDX" added its declaration by accident. Remove it.

Applied to kvm-x86 misc, thanks!

[1/1] KVM: VMX: Remove unused declaration of vmx_request_immediate_exit()

      https://github.com/kvm-x86/linux/commit/d5989a3533fc

--
https://github.com/kvm-x86/linux/tree/next