commit | f4c63e5d5a356b652a3d984edbefca289176c40f | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Mar 07 14:54:28 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed May 11 07:56:54 2011 -0400 |
tree | 90c505354b7c8562da59d67c8704da88904ca8f9 | |
parent | 6de12732c42c7070af42e3d6e42ecee2838fc920 [diff] |
KVM: VMX: Optimize vmx_get_cpl() In long mode, vm86 mode is disallowed, so we need not check for it. Reading rflags.vm may require a VMREAD, so it is expensive. Signed-off-by: Avi Kivity <avi@redhat.com>