Re: [PATCH 3/3] KVM: x86: consolidate different ways to test for in-kernel LAPIC

From: Radim KrÄmÃÅ
Date: Tue Feb 09 2016 - 09:14:35 EST


2016-02-08 17:15+0100, Paolo Bonzini:
> We had checks on vcpu->arch.apic being (non-)NULL, kvm_vcpu_has_lapic
> (more optimized) and lapic_in_kernel. Replace everything with
> lapic_in_kernel's name and kvm_vcpu_has_lapic's implementation.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---

Nice,

Reviewed-by: Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>