KVM: Portability: Create kvm_arch_vcpu_runnable() function
authorHollis Blanchard <hollisb@us.ibm.com>
Mon, 3 Dec 2007 22:15:26 +0000 (16:15 -0600)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:17 +0000 (17:53 +0200)
commit53e0aa7b65ec0d66e34e4d356a641c725cc2e519
tree3964471dba10c506407370aefacdfce2cab3086f
parente01a1b570f66ad318239517adbcc2cbe368d0a46
KVM: Portability: Create kvm_arch_vcpu_runnable() function

This abstracts the detail of x86 hlt and INIT modes into a function.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c
drivers/kvm/x86.h