KVM: VMX: Add facility to atomically switch MSRs on guest entry/exit
authorAvi Kivity <avi@redhat.com>
Wed, 28 Apr 2010 13:40:38 +0000 (16:40 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:36:31 +0000 (11:36 +0300)
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>

No differences found