aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2021-10-13 12:29:42 -0400
committerPaolo Bonzini <[email protected]>2021-10-22 10:02:07 -0400
commit0d33b1baeb6ca7165d5ed4fdd1a8f969985e35b9 (patch)
tree84ef4154a0f5b9e7e928c8cacf453fd2c3116406 /arch/powerpc/lib/code-patching.c
parentb5998402e3de429b5e5f9bdea08ddf77c5fd661e (diff)
KVM: x86: leave vcpu->arch.pio.count alone in emulator_pio_in_out
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: [email protected] Fixes: 7ed9abfe8e9f ("KVM: SVM: Support string IO operations for an SEV-ES guest") Reviewed-by: Maxim Levitsky <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions