commit | eab4b8aa34fc64e3a91358e1612e6d059396193b | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Aug 04 15:02:54 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:33:21 2009 +0300 |
tree | 0cdb3e72ff84cdbbd9a77afa80be209e15c91408 | |
parent | 07708c4af1346ab1521b26a202f438366b7bcffd [diff] |
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: Avi Kivity <avi@redhat.com>