lkml.org 
[lkml]   [2021]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 08/12] KVM: SVM: add warning for mistmatch between AVIC state and AVIC access page state
From
Date
On 02/08/21 20:33, Maxim Levitsky wrote:
>
> + WARN_ON_ONCE(vcpu->kvm->arch.apic_access_memslot_enabled !=
> + kvm_vcpu_apicv_active(vcpu));

This should also check !vcpu->kvm->arch.apicv_inhibit_reasons instead of
apic_access_memslot_enabled.

Paolo

\
 
 \ /
  Last update: 2021-08-03 10:46    [W:0.155 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site