KVM: SVM: Prepare for SEV-ES exit handling in the sev.c file
authorTom Lendacky <thomas.lendacky@amd.com>
Thu, 10 Dec 2020 17:09:46 +0000 (11:09 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 10:20:47 +0000 (05:20 -0500)
commite9093fd49285ff7b5e4d3f8b528f5b43445c5f5d
tree526b2bae48125926c70e4a72858a4c83034ab195
parent8164a5ffe4c65291efecc03a590c978fd14c240f
KVM: SVM: Prepare for SEV-ES exit handling in the sev.c file

This is a pre-patch to consolidate some exit handling code into callable
functions. Follow-on patches for SEV-ES exit handling will then be able
to use them from the sev.c file.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <5b8b0ffca8137f3e1e257f83df9f5c881c8a96a3.1607620209.git.thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c