diff options
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 3 |
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 | ||
3136 | static void vmx_intr_assist(struct kvm_vcpu *vcpu) | 3136 | static 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)) { |