Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
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) )
}
/* 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;