[PATCH] KVM: Fix vmx hardware_enable() on macbooks
authorAvi Kivity <avi@qumranet.com>
Wed, 13 Dec 2006 08:34:16 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:48 +0000 (09:05 -0800)
commitbfdc0c280a497575670e87efa89e78a88438483b
tree6c7a3ee533f9f163393e61efa3e57e3e72bddf82
parent3b99ab242145c99ec8781dc267ec100e7f23ef9d
[PATCH] KVM: Fix vmx hardware_enable() on macbooks

It seems macbooks set bit 2 but not bit 0, which is an "enabled but vmxon will
fault" setting.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Tested-by: Alex Larsson (sometimes testing helps)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/vmx.c