diff options
author | Tom Lendacky <[email protected]> | 2024-04-24 10:57:59 -0500 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-04-25 16:14:25 +0200 |
commit | e2f4c8c319abd1afbedb7a31877cb569265db1b4 (patch) | |
tree | 14682b2de2c8dd4519c1ecaafbb583cc21df4e5a /scripts/bpf_doc.py | |
parent | 88ed43d32beb1ef3c06164c52b1c6ced47b5988b (diff) |
x86/sev: Make the VMPL0 checking more straight forward
Currently, the enforce_vmpl0() function uses a set argument when modifying
the VMPL1 permissions used to test for VMPL0. If the guest is not running
at VMPL0, the guest self-terminates.
The function is just a wrapper for a fixed RMPADJUST function. Eliminate
the function and perform the RMPADJUST directly.
No functional change.
Signed-off-by: Tom Lendacky <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/ed01ddf04bfb475596b24b634fd26cffaa85173a.1713974291.git.thomas.lendacky@amd.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions