Commit c6e129f
committed
KVM: SVM: Simplify request+kick logic in SNP AP Creation handling
Drop the local "kick" variable and the unnecessary "fallthrough" logic
from sev_snp_ap_creation(), and simply pivot on the request when deciding
whether or not to immediate force a state update on the target vCPU.
No functional change intended.
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20250227012541.3234589-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 745ff82 commit c6e129f
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3944 | 3944 | | |
3945 | 3945 | | |
3946 | 3946 | | |
3947 | | - | |
3948 | 3947 | | |
3949 | 3948 | | |
3950 | 3949 | | |
| |||
3962 | 3961 | | |
3963 | 3962 | | |
3964 | 3963 | | |
3965 | | - | |
3966 | | - | |
3967 | | - | |
3968 | | - | |
3969 | | - | |
3970 | | - | |
3971 | 3964 | | |
3972 | 3965 | | |
3973 | 3966 | | |
3974 | 3967 | | |
3975 | | - | |
3976 | | - | |
3977 | 3968 | | |
3978 | 3969 | | |
3979 | 3970 | | |
| |||
4018 | 4009 | | |
4019 | 4010 | | |
4020 | 4011 | | |
4021 | | - | |
| 4012 | + | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
4022 | 4017 | | |
4023 | 4018 | | |
4024 | 4019 | | |
| |||
0 commit comments