KVM: SVM: Add GHCB accessor functions for retrieving fields
authorTom Lendacky <thomas.lendacky@amd.com>
Thu, 10 Dec 2020 17:09:39 +0000 (11:09 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 14 Dec 2020 16:09:32 +0000 (11:09 -0500)
commit0f60bde15ee11d03b6143f567cf840d30bf1b588
tree5216ec386092b86840de83a80531d3f1c710cb1d
parent916391a2d1dc225bfb68624352b1495ec529444e
KVM: SVM: Add GHCB accessor functions for retrieving fields

Update the GHCB accessor functions to add functions for retrieve GHCB
fields by name. Update existing code to use the new accessor functions.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <664172c53a5fb4959914e1a45d88e805649af0ad.1607620209.git.thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/svm.h
arch/x86/kernel/cpu/vmware.c