]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccc4dfa76b9c578666612e59823a89757b2ed96c
tree935d7b8f7b1800fba1437f4106659f828199c4f5
parent40c9feb17ba92f6affb4ee2962fd75890214cf1e
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: a15bb587483f ("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