Re: [PATCH v2 04/11] KVM: SVM: drop the SVM specific H_FLAGS

From: Sean Christopherson
Date: Fri Jan 27 2023 - 19:56:51 EST


On Tue, Nov 29, 2022, Maxim Levitsky wrote:
> @@ -3580,7 +3583,7 @@ bool svm_nmi_blocked(struct kvm_vcpu *vcpu)
> return false;
>
> ret = (vmcb->control.int_state & SVM_INTERRUPT_SHADOW_MASK) ||
> - (vcpu->arch.hflags & HF_NMI_MASK);
> + (svm->nmi_masked);

Unnecessary parantheses.

>
> return ret;
> }