]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Fix CPL updates
authorKevin Wolf <kwolf@redhat.com>
Wed, 8 Feb 2012 13:34:40 +0000 (14:34 +0100)
committerAvi Kivity <avi@redhat.com>
Thu, 8 Mar 2012 12:10:28 +0000 (14:10 +0200)
commitd83a63e3800c28dd116dde3194cb835afd4865db
tree155889085c85412d1dcfddc1af904417cf0e996c
parentc83308c5a0568facec032c90f86930740b5cf7fb
KVM: SVM: Fix CPL updates

Keep CPL at 0 in real mode and at 3 in VM86. In protected/long mode, use
RPL rather than DPL of the code segment.

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