KVM: VMX: Optimize vmx_get_cpl()
authorAvi Kivity <avi@redhat.com>
Tue, 4 Aug 2009 12:02:54 +0000 (15:02 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:21 +0000 (08:33 +0300)
Instead of calling vmx_get_segment() (which reads a whole bunch of
vmcs fields), read only the cs selector which contains the cpl.

Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found