]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
kvm: nVMX: Validate the I/O bitmaps on nested VM-entry
authorJim Mattson <jmattson@google.com>
Thu, 6 Jul 2017 23:33:06 +0000 (16:33 -0700)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Jul 2017 16:41:11 +0000 (18:41 +0200)
commit56a205100d3933f785ca970c58aecedd94ff90b2
treefe2d53f467bf659e277eaabb547d51918dc44de6
parent7cdc2d62f9cce8a02eb2a5fbfca6813f04189487
kvm: nVMX: Validate the I/O bitmaps on nested VM-entry

According to the SDM, if the "use I/O bitmaps" VM-execution control is
1, bits 11:0 of each I/O-bitmap address must be 0. Neither address
should set any bits beyond the processor's physical-address width.

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c