]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
x86/vmx: Drop more PVHv1 remenants
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 20 Nov 2017 13:18:45 +0000 (13:18 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 1 Dec 2017 19:03:28 +0000 (19:03 +0000)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/intr.c

index 4c0f1c8f7168ab242482b25fb3cf8e04842b6d01..eb9b288e8c9473f02bc73c1f32739e65e1116ffb 100644 (file)
@@ -229,7 +229,7 @@ void vmx_intr_assist(void)
     struct vcpu *v = current;
     unsigned int tpr_threshold = 0;
     enum hvm_intblk intblk;
-    int pt_vector = -1;
+    int pt_vector;
 
     /* Block event injection when single step with MTF. */
     if ( unlikely(v->arch.hvm_vcpu.single_step) )
@@ -240,8 +240,7 @@ void vmx_intr_assist(void)
     }
 
     /* Crank the handle on interrupt state. */
-    if ( is_hvm_vcpu(v) )
-        pt_vector = pt_update_irq(v);
+    pt_vector = pt_update_irq(v);
 
     do {
         unsigned long intr_info;