Skip to contentSkip to conversation

VMX: Cleanup stalled INTR_INFO readt

PATCH Applied Jan Kiszka 2 participants 2 messages Sep 11, 2008

Subsystems (3)
lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 VMX: Cleanup stalled INTR_INFO readt

Commit 1c0f4f5011829dac96347b5f84ba37c2252e1e08 left a useless access of VM_ENTRY_INTR_INFO_FIELD in vmx_intr_assist behind. Clean this up.

---
 arch/x86/kvm/vmx.c |    3 ---
 1 file changed, 3 deletions(-)
arch/x86/kvm/vmx.c +0 -3
Index: b/arch/x86/kvm/vmx.c
===================================================================
@@ -3135,11 +3135,8 @@ static void vmx_complete_interrupts(stru
 
 static void vmx_intr_assist(struct kvm_vcpu *vcpu)
 {
-	u32 intr_info_field;
-
 	update_tpr_threshold(vcpu);
 
-	intr_info_field = vmcs_read32(VM_ENTRY_INTR_INFO_FIELD);
 	if (cpu_has_virtual_nmis()) {
 		if (vcpu->arch.nmi_pending && !vcpu->arch.nmi_injected) {
 			if (vmx_nmi_enabled(vcpu)) {
Applied
#1 lore raw
Quoted 3 lines · Jan Kiszka

Commit 1c0f4f5011829dac96347b5f84ba37c2252e1e08 left a useless access of VM_ENTRY_INTR_INFO_FIELD in vmx_intr_assist behind. Clean this up.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function