Commit 16777eb
committed
KVM: x86: WARN and reject KVM_RUN if vCPU's MP_STATE is SIPI_RECEIVED
WARN if KVM_RUN is reached with a vCPU's mp_state set to SIPI_RECEIVED, as
KVM no longer uses SIPI_RECEIVED internally, and should morph SIPI_RECEIVED
into INIT_RECEIVED with a pending SIPI if userspace forces SIPI_RECEIVED.
See commit 66450a2 ("KVM: x86: Rework INIT and SIPI handling") for
more history and details.
Link: https://lore.kernel.org/r/20250605195018.539901-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent c4a37ac commit 16777eb
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11568 | 11568 | | |
11569 | 11569 | | |
11570 | 11570 | | |
| 11571 | + | |
| 11572 | + | |
| 11573 | + | |
| 11574 | + | |
| 11575 | + | |
| 11576 | + | |
| 11577 | + | |
| 11578 | + | |
| 11579 | + | |
| 11580 | + | |
| 11581 | + | |
| 11582 | + | |
| 11583 | + | |
| 11584 | + | |
11571 | 11585 | | |
11572 | 11586 | | |
11573 | 11587 | | |
| |||
11670 | 11684 | | |
11671 | 11685 | | |
11672 | 11686 | | |
11673 | | - | |
| 11687 | + | |
11674 | 11688 | | |
11675 | 11689 | | |
11676 | 11690 | | |
| |||
0 commit comments