KVM: x86: make hwapic_isr_update and hwapic_irr_update look the same
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 May 2016 15:01:23 +0000 (17:01 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 May 2016 16:04:32 +0000 (18:04 +0200)
commit67c9dddc95ac16a09db996e8e4dcacfd94cf2306
tree5e96e551b386e6290492f593fe9c02a2e148b72f
parent8221c13700561b36fb1bfda583888cbb43b572f0
KVM: x86: make hwapic_isr_update and hwapic_irr_update look the same

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 happening that the vCPU is used implicitly, through the loaded VMCS.

The second argument instead is named differently, make it consistent.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/lapic.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c