]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Add nested virtualization support for MPX
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 24 Feb 2014 11:30:04 +0000 (12:30 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Mar 2014 11:21:39 +0000 (12:21 +0100)
commit4feceea1d3967b874e9c3e9e04d9db358305ff94
tree7c6facc966bd98d1ebadacab3e619b53aba3b1ef
parent2ad9a91a4c00c9ecbd76ecab1efa913adef9e51d
KVM: x86: Add nested virtualization support for MPX

This is simple to do, the "host" BNDCFGS is either 0 or the guest value.
However, both controls have to be present.  We cannot provide MPX if
we only have one of the "load BNDCFGS" or "clear BNDCFGS" controls.

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