Re: [PATCH] KVM: x86: make hwapic_isr_update and hwapic_irr_update look the same

From: Radim KrÄmÃÅ
Date: Wed May 11 2016 - 08:46:46 EST


2016-05-10 18:48+0200, Paolo Bonzini:
> Neither APICv nor AVIC actually need the first argument of
> hwapic_isr_update, but the vCPU makes more sense than passing the
> pointer to the whole virtual machine! In fact in the APICv case it's
> just because the vCPU is used implicitly, through the loaded VMCS.
>
> The second argument instead is named differently, make it consistent.
>
> Cc: Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---

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