public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] VMX: Cleanup stalled INTR_INFO readt
@ 2008-09-11 10:58 Jan Kiszka
  2008-09-11 15:16 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2008-09-11 10:58 UTC (permalink / raw)
  To: kvm-devel; +Cc: Avi Kivity

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

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 arch/x86/kvm/vmx.c |    3 ---
 1 file changed, 3 deletions(-)

Index: b/arch/x86/kvm/vmx.c
===================================================================
--- a/arch/x86/kvm/vmx.c
+++ 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)) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] VMX: Cleanup stalled INTR_INFO readt
  2008-09-11 10:58 [PATCH] VMX: Cleanup stalled INTR_INFO readt Jan Kiszka
@ 2008-09-11 15:16 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-09-11 15:16 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: kvm-devel

Jan Kiszka wrote:
> Commit 1c0f4f5011829dac96347b5f84ba37c2252e1e08 left a useless access
> of VM_ENTRY_INTR_INFO_FIELD in vmx_intr_assist behind. Clean this up.
>   

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-11 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11 10:58 [PATCH] VMX: Cleanup stalled INTR_INFO readt Jan Kiszka
2008-09-11 15:16 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox