]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: x86 emulator: VM86 segments must have DPL 3
authorKevin Wolf <kwolf@redhat.com>
Wed, 8 Feb 2012 13:34:39 +0000 (14:34 +0100)
committerAvi Kivity <avi@redhat.com>
Thu, 8 Mar 2012 12:10:27 +0000 (14:10 +0200)
commit66b0ab8fac1031ffc70eb77491048339f2717a54
treed323e068a9f6a95fb46c2fc41b66c3a9ed0c90d4
parent7f3d35fddd173e52886d03bc34b5b5d6f5bea343
KVM: x86 emulator: VM86 segments must have DPL 3

Setting the segment DPL to 0 for at least the VM86 code segment makes
the VM entry fail on VMX.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c