]> git.baikalelectronics.ru Git - kernel.git/commit
nVMX x86: check posted-interrupt descriptor addresss on vmentry of L2
authorKrish Sadhukhan <krish.sadhukhan@oracle.com>
Fri, 24 Aug 2018 00:03:03 +0000 (20:03 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Sep 2018 22:51:44 +0000 (00:51 +0200)
commitb27c9b87ba5a9bedbcc2f04c73abfefa62435b64
treed361de7f3721697dab497a21e219ac830957f7a0
parentffe2e622054f2f9278d007aec7f082926c8dc141
nVMX x86: check posted-interrupt descriptor addresss on vmentry of L2

According to section "Checks on VMX Controls" in Intel SDM vol 3C,
the following check needs to be enforced on vmentry of L2 guests:

   - Bits 5:0 of the posted-interrupt descriptor address are all 0.
   - The posted-interrupt descriptor address does not set any bits
     beyond the processor's physical-address width.

Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: Mark Kanda <mark.kanda@oracle.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Karl Heubaum <karl.heubaum@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c