Re: [PATCH 2/5] KVM: x86: do not scan IRR twice on APICv vmentry
From: Radim KrÄmÃÅ
Date: Wed Oct 26 2016 - 15:59:08 EST
2016-10-14 20:21+0200, Paolo Bonzini:
> Calling apic_find_highest_irr results in IRR being scanned twice,
> once in vmx_sync_pir_from_irr and once in apic_search_irr. Change
> sync_pir_from_irr to do the RVI write and kvm_apic_update_irr to
> compute the new RVI on the fly.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---
Reviewed-by: Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>