aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2008-09-11 06:58:00 -0400
committerAvi Kivity <avi@qumranet.com>2008-10-15 04:15:26 -0400
commit4b92fe0c9d0376eb105c88d49b77595e8e5b1548 (patch)
treef14a74c29252e4ca1bebc5bac6abb730e2b8ab2c /arch
parent0bd595fc222583ca260f259698f72e9946c6e524 (diff)
KVM: VMX: Cleanup stalled INTR_INFO read
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> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/vmx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index e7e8c86f1b7d..f8e615fc8744 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3135,11 +3135,8 @@ static void vmx_complete_interrupts(struct vcpu_vmx *vmx)
3135 3135
3136static void vmx_intr_assist(struct kvm_vcpu *vcpu) 3136static void vmx_intr_assist(struct kvm_vcpu *vcpu)
3137{ 3137{
3138 u32 intr_info_field;
3139
3140 update_tpr_threshold(vcpu); 3138 update_tpr_threshold(vcpu);
3141 3139
3142 intr_info_field = vmcs_read32(VM_ENTRY_INTR_INFO_FIELD);
3143 if (cpu_has_virtual_nmis()) { 3140 if (cpu_has_virtual_nmis()) {
3144 if (vcpu->arch.nmi_pending && !vcpu->arch.nmi_injected) { 3141 if (vcpu->arch.nmi_pending && !vcpu->arch.nmi_injected) {
3145 if (vmx_nmi_enabled(vcpu)) { 3142 if (vmx_nmi_enabled(vcpu)) {