KVM: SVM: Add AP_JUMP_TABLE support in prep for AP booting
authorTom Lendacky <thomas.lendacky@amd.com>
Tue, 15 Dec 2020 17:44:07 +0000 (12:44 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 17:47:53 +0000 (12:47 -0500)
commit8640ca588b032166d6be6b4d3632d565d6d88e89
treeda8a75fa77d5d542245bdfad5aeadebc408b3d78
parentad73109ae7ec30d5bfb76be108e304f9f0af4829
KVM: SVM: Add AP_JUMP_TABLE support in prep for AP booting

The GHCB specification requires the hypervisor to save the address of an
AP Jump Table so that, for example, vCPUs that have been parked by UEFI
can be started by the OS. Provide support for the AP Jump Table set/get
exit code.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c
arch/x86/kvm/svm/svm.h