]> 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)
commit3aef6492bcdbd98cac87557511173345d745e3a0
tree7c6facc966bd98d1ebadacab3e619b53aba3b1ef
parentb8127787e5e90d89838a2cbdc9b55f456c7b26fb
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