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)
commit36be0b9deb23161e9eba962c215aece551113a15
tree7c6facc966bd98d1ebadacab3e619b53aba3b1ef
parent4ff417320c2dfc984ec1939a7da888976441a881
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