VMM: Exit on mwait
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 20 Jun 2016 20:36:11 +0000 (16:36 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 24 Jun 2016 18:24:06 +0000 (14:24 -0400)
commit9c88e99bdadf7b6e4a7adf3de4c29bea4639b7b6
treea35019f4bdbc6097c00b36e47b34d586e9c0ec9b
parentf912b27ed4c5b730fe65f819e1b952691081936f
VMM: Exit on mwait

Mwait can be used for power management.  Linux will use mwait instead of
halt in some circumstances.  See Linux's arch/x86/kernel/process.c
prefer_mwait_c1_over_halt() for more info.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/vmm/intel/vmx.c