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
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