Skip to content
Snippets Groups Projects
Commit eab4b8aa authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Optimize vmx_get_cpl()


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: default avatarAvi Kivity <avi@redhat.com>
parent 07708c4a
No related branches found
Tags v4.1-rc8
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment