commit | 61d2ef2ce3e0161bedf5d2867f546a8df77fa9bc | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Apr 28 16:40:38 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Wed May 19 11:36:31 2010 +0300 |
tree | d1e3423bac53d2222b4c607e15b29c6e7f9b546a | |
parent | 5dfa3d170e17cbf9e4816a5ba2f5913c31c03e93 [diff] |
KVM: VMX: Add facility to atomically switch MSRs on guest entry/exit Some guest msr values cannot be used on the host (for example. EFER.NX=0), so we need to switch them atomically during guest entry or exit. Add a facility to program the vmx msr autoload registers accordingly. Signed-off-by: Avi Kivity <avi@redhat.com>