do not run halted vcpu's
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: x86: set debug registers after "schedulable" sectionarch/ | +4 | 1 reply | |
| 2/2 | KVM: x86: do not execute halted vcpus (v2)arch/ arch/ arch/ +2 more | +66 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/2] do not run halted vcpu's
Quoted 4 lines · Avi Kivity
Any reason this is not in
__vcpu_run()?Our main loop could look like
Quoted 8 lines
while (no reason to stop)
if (runnable)
enter guest
else
block
deal with aftermath
kvm_emulate_haltwould then simply modify the mp state.
Like this?
- I don't think it is necessary to test for pending signals inside irq safe section, so move that to exit processing.
- Same for need_resched().