[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2a798f4c-5782-2e7c-7c87-ca7a3c576ff8@redhat.com>
Date: Mon, 8 Jun 2020 13:11:04 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Qian Cai <cai@....pw>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
torvalds@...ux-foundation.org
Subject: Re: [PATCH 19/30] KVM: nSVM: extract svm_set_gif
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
Powered by blists - more mailing lists