]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
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)
commitea5e97e8bf1d56a4d9461c39e082b9c31a7be4ff
tree155889085c85412d1dcfddc1af904417cf0e996c
parent66b0ab8fac1031ffc70eb77491048339f2717a54
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