KVM: SEV-ES: rename guest_ins_data to sev_pio_data
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Oct 2021 14:22:34 +0000 (10:22 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Oct 2021 14:01:26 +0000 (10:01 -0400)
commitb5998402e3de429b5e5f9bdea08ddf77c5fd661e
tree935d7b8f7b1800fba1437f4106659f828199c4f5
parentc8c340a9b4149fe5caa433f3b62463a1c8e07a46
KVM: SEV-ES: rename guest_ins_data to sev_pio_data

We will be using this field for OUTS emulation as well, in case the
data that is pushed via OUTS spans more than one page.  In that case,
there will be a need to save the data pointer across exits to userspace.

So, change the name to something that refers to any kind of PIO.
Also spell out what it is used for, namely SEV-ES.

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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c