Revision 0d33b1baeb6ca7165d5ed4fdd1a8f969985e35b9 authored by Paolo Bonzini on 13 October 2021, 16:29:42 UTC, committed by Paolo Bonzini on 22 October 2021, 14:02:07 UTC
Currently emulator_pio_in clears vcpu->arch.pio.count twice if emulator_pio_in_out performs kernel PIO. Move the clear into emulator_pio_out where it is actually necessary. 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>
1 parent b599840