Commit 4540515
committed
KVM: x86: WARN if a vCPU gets a valid wakeup that KVM can't yet inject
WARN if a blocking vCPU is awakened by a valid wake event that KVM can't
inject, e.g. because KVM needs to complete a nested VM-enter, or needs to
re-inject an exception. For the nested VM-Enter case, KVM is supposed to
clear "nested_run_pending" if L1 puts L2 into HLT, i.e. entering HLT
"completes" the nested VM-Enter. And for already-injected exceptions, it
should be impossible for the vCPU to be in a blocking state if a VM-Exit
occurred while an exception was being vectored.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>1 parent 321ef62 commit 4540515
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11208 | 11208 | | |
11209 | 11209 | | |
11210 | 11210 | | |
11211 | | - | |
| 11211 | + | |
| 11212 | + | |
| 11213 | + | |
| 11214 | + | |
11212 | 11215 | | |
11213 | 11216 | | |
11214 | 11217 | | |
| |||
0 commit comments