]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86b2fe13d006b885c867e7aac507dd864ed2c2f9
treee06620db781238e7e2e152ee12e4ff560575ad98
parent5090d24bca1c5834810bc4b6eeeb9a359d360c66
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: a15bb587483f ("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