diff options
author | 2020-09-07 15:15:04 +0200 | |
---|---|---|
committer | 2020-09-07 19:45:24 +0200 | |
commit | 3702c2f4eed2188440f65ecdfc89165106fe565d (patch) | |
tree | df72e50f4cce34cfcd85eefb72feab7d8f102fd0 /arch/x86/lib/insn-eval.c | |
parent | KVM: SVM: Add GHCB definitions (diff) | |
download | wireguard-linux-3702c2f4eed2188440f65ecdfc89165106fe565d.tar.xz wireguard-linux-3702c2f4eed2188440f65ecdfc89165106fe565d.zip |
KVM: SVM: Add GHCB Accessor functions
Building a correct GHCB for the hypervisor requires setting valid bits
in the GHCB. Simplify that process by providing accessor functions to
set values and to update the valid bitmap and to check the valid bitmap
in KVM.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200907131613.12703-4-joro@8bytes.org
Diffstat (limited to 'arch/x86/lib/insn-eval.c')
0 files changed, 0 insertions, 0 deletions