]> 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)
commit66fa52e213b0bed52d892248d353ca0e82be163b
treea3562a257ed1889b7bf5d6dcd4ecb67edc79fd41
parent60200764fe1950d4a1f7c091b45cbe34bad33292
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