]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: check CS.DPL against RPL during task switch
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 May 2014 16:09:29 +0000 (18:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 May 2014 15:47:17 +0000 (17:47 +0200)
commit0ba0d0a6c8cec204f7ce51e82e172780b845d26f
treea3562a257ed1889b7bf5d6dcd4ecb67edc79fd41
parent23b75981de8f43c1439df67887fb4d9b42f47b28
KVM: x86: check CS.DPL against RPL during task switch

Table 7-1 of the SDM mentions a check that the code segment's
DPL must match the selector's RPL.  This was not done by KVM,
fix it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c