From: Marcelo Tosatti Date: Mon, 8 Sep 2008 18:23:48 +0000 (-0300) Subject: KVM: x86: do not execute halted vcpus X-Git-Tag: v2.6.28-rc1~269^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76901750ab9f71091d33ef3d2b5909d8a9a4ad4;p=pandora-kernel.git 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 redhat.com> Signed-off-by: Avi Kivity --- Reading git-diff-tree failed