commit | 3702c2f4eed2188440f65ecdfc89165106fe565d | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Mon Sep 07 15:15:04 2020 +0200 |
committer | Borislav Petkov <bp@suse.de> | Mon Sep 07 19:45:24 2020 +0200 |
tree | df72e50f4cce34cfcd85eefb72feab7d8f102fd0 | |
parent | d07f46f9f51afc7fc9f021eae19eba3c2e7870ac [diff] |
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