Commit 58c81bc
committed
KVM: x86: Refactor handling of SIPI_RECEIVED when setting MP_STATE
Convert the incoming mp_state to INIT_RECIEVED instead of manually calling
kvm_set_mp_state() to make it more obvious that the SIPI_RECEIVED logic is
translating the incoming state to KVM's internal tracking, as opposed to
being some entirely unique flow.
Opportunistically add a comment to explain what the code is doing.
No functional change intended.
Link: https://lore.kernel.org/r/20250605195018.539901-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 0fe3e8d commit 58c81bc
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11929 | 11929 | | |
11930 | 11930 | | |
11931 | 11931 | | |
| 11932 | + | |
| 11933 | + | |
| 11934 | + | |
| 11935 | + | |
| 11936 | + | |
11932 | 11937 | | |
11933 | | - | |
| 11938 | + | |
11934 | 11939 | | |
11935 | | - | |
11936 | | - | |
| 11940 | + | |
| 11941 | + | |
| 11942 | + | |
11937 | 11943 | | |
11938 | 11944 | | |
11939 | 11945 | | |
| |||
0 commit comments