KVM: SEV-ES: reuse advance_sev_es_emulated_ins for OUT too
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Oct 2021 12:47:56 +0000 (08:47 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 17:05:35 +0000 (13:05 -0400)
commitdb209369d48eab1e2c724d90c606752d398ae334
treea0bcabdb9fb82074a42c6b99e5a90bd884f9f916
parentf35cee4adb54af59129193d528706b390befb5f4
KVM: SEV-ES: reuse advance_sev_es_emulated_ins for OUT too

complete_emulator_pio_in() only has to be called by
complete_sev_es_emulated_ins() now; therefore, all that the function does
now is adjust sev_pio_count and sev_pio_data.  Which is the same for
both IN and OUT.

No functional change intended.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c