diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-02 13:45:11 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-08-29 19:06:12 -0700 |
commit | 32071fa355e73495e509a28511a81b4baab51ff6 (patch) | |
tree | c40272d32062e5eef414519bed77899d331df8bf /rust/helpers/uaccess.c | |
parent | 1b5ef14dc656a25280d56795b73cf90dad64ad44 (diff) |
KVM: SVM: Track the per-CPU host save area as a VMCB pointer
The host save area is a VMCB, track it as such to help readers follow
along, but mostly to cleanup/simplify the retrieval of the SEV-ES host
save area.
Note, the compile-time assertion that
offsetof(struct vmcb, save) == EXPECTED_VMCB_CONTROL_AREA_SIZE
ensures that the SEV-ES save area is indeed at offset 0x400 (whoever added
the expected/architectural VMCB offsets apparently likes decimal).
No functional change intended.
Link: https://lore.kernel.org/r/20240802204511.352017-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/uaccess.c')
0 files changed, 0 insertions, 0 deletions