commit | dfae3c03b89fd5547b1adee857b10dc6f1c66132 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Mon Dec 03 13:52:52 2018 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Dec 14 12:34:21 2018 +0100 |
tree | 74be8b2958bc69359b1d7df01111d3dd3cfb2be5 | |
parent | 1b3ab5ad1b8ad99bae76ec583809c5f5a31c707c [diff] |
KVM: nVMX: Allocate and configure VM{READ,WRITE} bitmaps iff enable_shadow_vmcs ...and make enable_shadow_vmcs depend on nested. Aside from the obvious memory savings, this will allow moving the relevant code out of vmx.c in the future, e.g. to a nested specific file. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>