OSDN Git Service

KVM: x86: remove unnecessary arguments from complete_emulator_pio_in
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Oct 2021 16:35:20 +0000 (12:35 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Oct 2021 14:08:38 +0000 (10:08 -0400)
commit6b5efc930bbc8c97e4a1fe2ccb9a6f286365a56d
treee06620db781238e7e2e152ee12e4ff560575ad98
parent3b27de27183911d461afedf50c6fa30c59740c07
KVM: x86: remove unnecessary arguments from complete_emulator_pio_in

complete_emulator_pio_in can expect that vcpu->arch.pio has been filled in,
and therefore does not need the size and count arguments.  This makes things
nicer when the function is called directly from a complete_userspace_io
callback.

No functional change intended.

Cc: stable@vger.kernel.org
Fixes: 7ed9abfe8e9f ("KVM: SVM: Support string IO operations for an SEV-ES guest")
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c