Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment