VMM: move to waserror/error style.
authorRonald G. Minnich <rminnich@gmail.com>
Mon, 1 Aug 2016 22:29:23 +0000 (15:29 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 1 Aug 2016 23:23:19 +0000 (16:23 -0700)
commit15ae76bd6cbd42637597501ae7066db2158e660f
treee5b3be74e79c8b3186f817a6a66d6ff4d4cf07bb
parent18ad401b2a8b54d61c6de76161fc08a0d4341d67
VMM: move to waserror/error style.

This simplifies the code and improves error diagnostics.

I've tested some of the error handling paths by trying to
set up a VM with bad parameters and also inserting some
calls to error() in a few places.

Change-Id: I5437f559f618c132be751897785aee6da3b771be
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/vmm/intel/vmx.c
kern/arch/x86/vmm/vmm.c