KVM: Emulate hlt in the kernel
authorEddie Dong <eddie.dong@intel.com>
Wed, 18 Jul 2007 09:15:21 +0000 (12:15 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:25 +0000 (10:18 +0200)
commitb6958ce44a11a9e9425d2b67a653b1ca2a27796f
tree503478ef27254df9b6ea21d2a6a279a7dfe2ef04
parent1fd4f2a5ed8f80cf6e23d2bdf78554f6a1ac7997
KVM: Emulate hlt in the kernel

By sleeping in the kernel when hlt is executed, we simplify the in-kernel
guest interrupt path considerably.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/i8259.c
drivers/kvm/irq.c
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/svm.c
drivers/kvm/vmx.c
include/linux/kvm.h