kvm: Add in-kernel irqchip awareness to cpu_thread_is_idle
commitf2c1cc81c8229e8c1e26aae517d32aa534936a0c
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 Mar 2011 11:26:18 +0000 (15 12:26 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 Mar 2011 20:11:05 +0000 (16 17:11 -0300)
tree64dc4e0eca74c41873a55d466e6358baa94e07ae
parentfd28aa132362320f9f3a30b23f634bb14dee528e
kvm: Add in-kernel irqchip awareness to cpu_thread_is_idle

With in-kernel irqchip support enabled, the vcpu threads sleep in kernel
space while halted. Account for this difference in cpu_thread_is_idle.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpus.c