]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30c7bf95cc29f48e08764b6bf1f7533c2ddda8ea
treea0bcabdb9fb82074a42c6b99e5a90bd884f9f916
parent2703646c7e03e424f2860e972852d3bfaf6a8324
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