Commit f7b1f0c
committed
KVM: SEV: Fold sev_es_vcpu_reset() into sev_vcpu_create()
Fold the remaining line of sev_es_vcpu_reset() into sev_vcpu_create() as
there's no need for a dedicated RESET hook just to init a mutex, and the
mutex should be initialized as early as possible anyways.
No functional change intended.
Reviewed-by: Nikunj A Dadhania <nikunj@amd.com>
Link: https://lore.kernel.org/r/20250819234833.3080255-8-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent baf6ed1 commit f7b1f0c
3 files changed
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4577 | 4577 | | |
4578 | 4578 | | |
4579 | 4579 | | |
| 4580 | + | |
| 4581 | + | |
4580 | 4582 | | |
4581 | 4583 | | |
4582 | 4584 | | |
| |||
4592 | 4594 | | |
4593 | 4595 | | |
4594 | 4596 | | |
4595 | | - | |
4596 | | - | |
4597 | | - | |
4598 | | - | |
4599 | | - | |
4600 | 4597 | | |
4601 | 4598 | | |
4602 | 4599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1244 | 1244 | | |
1245 | 1245 | | |
1246 | 1246 | | |
1247 | | - | |
1248 | | - | |
1249 | | - | |
1250 | 1247 | | |
1251 | 1248 | | |
1252 | 1249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
832 | | - | |
833 | 832 | | |
834 | 833 | | |
835 | 834 | | |
| |||
0 commit comments