KVM: VMX: fix incorrect cached cpl value with real/v8086 modes
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 7 Jan 2013 21:27:06 +0000 (19:27 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 8 Jan 2013 19:25:35 +0000 (17:25 -0200)
CPL is always 0 when in real mode, and always 3 when virtual 8086 mode.

Using values other than those can cause failures on operations that
check CPL.

Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found