Re: [PATCH 19/30] KVM: nSVM: extract svm_set_gif

From: Paolo Bonzini
Date: Mon Jun 08 2020 - 07:11:14 EST


On 05/06/20 22:33, Qian Cai wrote:
>> + if (value) {
>> + /*
>> + * If VGIF is enabled, the STGI intercept is only added to
>> + * detect the opening of the SMI/NMI window; remove it now.
>> + * Likewise, clear the VINTR intercept, we will set it
>> + * again while processing KVM_REQ_EVENT if needed.
>> + */
>> + if (vgif_enabled(svm))
>> + clr_intercept(svm, INTERCEPT_STGI);
>> + if (is_intercept(svm, SVM_EXIT_VINTR))
> A simple qemu-kvm will trigger the warning. (Looks like the patch had
> already been pulled into the mainline quickly.)

You're right, that should have been INTERCEPT_VINTR. I'll post a fix.

Thanks,

Paolo