Commit e0ff302
committed
KVM: SEV: Rename kvm_ghcb_get_sw_exit_code() to kvm_get_cached_sw_exit_code()
Rename kvm_ghcb_get_sw_exit_code() to kvm_get_cached_sw_exit_code() to make
it clear that KVM is getting the cached value, not reading directly from
the guest-controlled GHCB. More importantly, vacating
kvm_ghcb_get_sw_exit_code() will allow adding a KVM-specific macro-built
kvm_ghcb_get_##field() helper to read values from the GHCB.
No functional change intended.
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20250919223258.1604852-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent fc55b4c commit e0ff302
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3220 | 3220 | | |
3221 | 3221 | | |
3222 | 3222 | | |
3223 | | - | |
| 3223 | + | |
3224 | 3224 | | |
3225 | 3225 | | |
3226 | 3226 | | |
| |||
3246 | 3246 | | |
3247 | 3247 | | |
3248 | 3248 | | |
3249 | | - | |
| 3249 | + | |
3250 | 3250 | | |
3251 | 3251 | | |
3252 | 3252 | | |
| |||
3335 | 3335 | | |
3336 | 3336 | | |
3337 | 3337 | | |
3338 | | - | |
| 3338 | + | |
3339 | 3339 | | |
3340 | 3340 | | |
3341 | 3341 | | |
| |||
4340 | 4340 | | |
4341 | 4341 | | |
4342 | 4342 | | |
4343 | | - | |
| 4343 | + | |
4344 | 4344 | | |
4345 | 4345 | | |
4346 | 4346 | | |
| |||
0 commit comments