commit | 1f3141e80b149e7215313dff29e9a0c47811b1d1 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Mon Jan 21 15:36:41 2013 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Thu Jan 24 00:40:25 2013 -0200 |
tree | 1bad6cb5c463b08b3bc31f40505f873c83342613 | |
parent | 158de57f905ed97ea0f993feac1c40a40f5c7a04 [diff] |
KVM: VMX: remove special CPL cache access during transition to real mode. Since vmx_get_cpl() always returns 0 when VCPU is in real mode it is no longer needed. Also reset CPL cache to zero during transaction to protected mode since transaction may happen while CS.selectors & 3 != 0, but in reality CPL is 0. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>