This now enables vmx via vmxon and vmclear works too
authorRonald G. Minnich <rminnich@google.com>
Tue, 14 Jan 2014 17:57:39 +0000 (09:57 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jan 2014 22:57:12 +0000 (14:57 -0800)
commitcb6a354b93cbfca451fb071e3bd209c1abb4ac7f
tree5d52d0e3ee1e983e9339731770fe9f2feafda6b0
parentf6160658791da4073bddcf268e74f3a956a821f8
This now enables vmx via vmxon and vmclear works too

Wow, that was a pain. The kvm code did not check error returns
from vmxon; we now do that.

Way too much printing in here but we can fix that later.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/arch/x86/vmx.c
kern/arch/x86/vmx_mmu.c
kern/drivers/dev/vm.c
kern/include/smp.h