diff options
author | Sean Christopherson <seanjc@google.com> | 2025-08-19 16:48:31 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-08-21 08:45:04 -0700 |
commit | baf6ed177290db5873f318626970fa7fd4060579 (patch) | |
tree | 02271776e3a5084d5253572cef61fb84e97648a2 /scripts/checktransupdate.py | |
parent | 3d4e882e3439593b406fa226bcdd48c92d2222a6 (diff) |
KVM: SEV: Set RESET GHCB MSR value during sev_es_init_vmcb()
Set the RESET value for the GHCB "MSR" during sev_es_init_vmcb() instead
of sev_es_vcpu_reset() to allow for dropping sev_es_vcpu_reset() entirely.
Note, the call to sev_init_vmcb() from sev_migrate_from() also kinda sorta
emulates a RESET, but sev_migrate_from() immediately overwrites ghcb_gpa
with the source's current value, so whether or not stuffing the GHCB
version is correct/desirable is moot.
No functional change intended.
Reviewed-by: Nikunj A Dadhania <nikunj@amd.com>
Link: https://lore.kernel.org/r/20250819234833.3080255-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/checktransupdate.py')
0 files changed, 0 insertions, 0 deletions