Neel Natu c3498942a5 Restructure the MSR handling so it is entirely handled by processor-specific
code. There are only a handful of MSRs common between the two so there isn't
too much duplicate functionality.

The VT-x code has the following types of MSRs:

- MSRs that are unconditionally saved/restored on every guest/host context
  switch (e.g., MSR_GSBASE).

- MSRs that are restored to guest values on entry to vmx_run() and saved
  before returning. This is an optimization for MSRs that are not used in
  host kernel context (e.g., MSR_KGSBASE).

- MSRs that are emulated and every access by the guest causes a trap into
  the hypervisor (e.g., MSR_IA32_MISC_ENABLE).

Reviewed by:	grehan
2014-09-20 02:35:21 +00:00
..
2014-07-07 00:27:09 +00:00
2014-09-17 22:26:01 +00:00
2014-09-17 22:24:51 +00:00
2014-09-17 08:28:50 +00:00
2014-07-07 00:27:09 +00:00
2014-05-20 19:55:06 +00:00
2013-08-03 08:21:35 +00:00
2014-08-28 00:05:02 +00:00
2014-07-07 00:27:09 +00:00
2014-09-19 10:32:20 +00:00
2014-07-26 17:59:25 +00:00