diff options
| author | Sean Christopherson <[email protected]> | 2024-08-02 20:45:11 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-08-30 02:06:12 +0000 |
| commit | 32071fa355e73495e509a28511a81b4baab51ff6 (patch) | |
| tree | c40272d32062e5eef414519bed77899d331df8bf /lib/crypto/mpi/mpi-mul.c | |
| parent | KVM: SVM: Add host SEV-ES save area structure into VMCB via a union (diff) | |
| download | kernel-32071fa355e73495e509a28511a81b4baab51ff6.tar.gz kernel-32071fa355e73495e509a28511a81b4baab51ff6.zip | |
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/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
