Re: [PART1 V5 12/13] svm: Do not intercept CR8 when enable AVIC

From: Paolo Bonzini
Date: Tue May 10 2016 - 11:12:51 EST




On 04/05/2016 21:09, Suravee Suthikulpanit wrote:
> +static inline bool svm_in_nested_interrupt_shadow(struct kvm_vcpu *vcpu)
> +{
> + return is_guest_mode(vcpu) && (vcpu->arch.hflags & HF_VINTR_MASK);
> +}
> +

A better name (yes, I know I suggested this one) is
svm_nested_virtualize_tpr. I can change this when committing.

Paolo