From: Gleb Natapov Date: Mon, 21 Jan 2013 13:36:41 +0000 (+0200) Subject: KVM: VMX: remove special CPL cache access during transition to real mode. X-Git-Tag: v3.9-rc1~97^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f3141e80b149e7215313dff29e9a0c47811b1d1;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed