[PATCH] KVM: fix lockup on 32-bit intel hosts with nx disabled in the bios
commit432bd6cbf9f016f5480153b1cdfbd046f8d4fb1e
authorAvi Kivity <avi@qumranet.com>
Thu, 1 Feb 2007 07:48:13 +0000 (31 23:48 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 2 Feb 2007 00:22:41 +0000 (1 16:22 -0800)
tree0398665da71dc09ec7d9f97f627d20e9ba06d658
parent6a4c24ec52128c1f57b7d2d24cf4dd13fc23f474
[PATCH] KVM: fix lockup on 32-bit intel hosts with nx disabled in the bios

Intel hosts, without long mode, and with nx support disabled in the bios
have an efer that is readable but not writable.  This causes a lockup on
switch to guest mode (even though it should exit with reason 34 according
to the documentation).

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/vmx.c