summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2020-12-10 11:09:54 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-15 05:20:51 -0500
commit7ed9abfe8e9f62384f9b11c9fca19e551dbec5bd (patch)
tree389f9ae52777cd6cefda824b5ddb22afe62334a5 /arch/x86/include
parent8f423a80d299a5b3964b8af005d1aab4e5e9106a (diff)
downloadlinux-7ed9abfe8e9f62384f9b11c9fca19e551dbec5bd.tar.gz
linux-7ed9abfe8e9f62384f9b11c9fca19e551dbec5bd.tar.bz2
linux-7ed9abfe8e9f62384f9b11c9fca19e551dbec5bd.zip
KVM: SVM: Support string IO operations for an SEV-ES guest
For an SEV-ES guest, string-based port IO is performed to a shared (un-encrypted) page so that both the hypervisor and guest can read or write to it and each see the contents. For string-based port IO operations, invoke SEV-ES specific routines that can complete the operation using common KVM port IO support. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Message-Id: <9d61daf0ffda496703717218f415cdc8fd487100.1607620209.git.thomas.lendacky@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 18aa15e6fadd..1c8c59d4a572 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -614,6 +614,7 @@ struct kvm_vcpu_arch {
struct kvm_pio_request pio;
void *pio_data;
+ void *guest_ins_data;
u8 event_exit_inst_len;