Marcelo Tosatti d76901750a KVM: x86: do not execute halted vcpus
Offline or uninitialized vcpu's can be executed if requested to perform
userspace work.

Follow Avi's suggestion to handle halted vcpu's in the main loop,
simplifying kvm_emulate_halt(). Introduce a new vcpu->requests bit to
indicate events that promote state from halted to running.

Also standardize vcpu wake sites.

Signed-off-by: Marcelo Tosatti <mtosatti <at> redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-10-15 10:15:26 +02:00
..
2008-10-15 10:15:26 +02:00
2008-10-15 10:15:19 +02:00
2008-10-15 10:15:17 +02:00
2008-10-15 10:15:16 +02:00
2008-07-28 16:30:21 -07:00
2008-10-15 10:15:26 +02:00
2008-10-15 10:13:57 +02:00
2008-10-15 10:15:26 +02:00
2008-10-15 10:15:13 +02:00