diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2018-12-03 13:53:13 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-12-14 17:17:59 +0100 |
| commit | 3e8eacccae9d998e0f5074f4fe411c747d85dfd8 (patch) | |
| tree | 5a9b5272b65b26f3615d550e06d7654635748e11 /scripts | |
| parent | e4027cfafd7846cf795217ce6d1829728d95ad89 (diff) | |
| download | cachepc-linux-3e8eacccae9d998e0f5074f4fe411c747d85dfd8.tar.gz cachepc-linux-3e8eacccae9d998e0f5074f4fe411c747d85dfd8.zip | |
KVM: nVMX: Call nested_vmx_setup_ctls_msrs() iff @nested is true
...so that it doesn't need access to @nested. The only case where the
provided struct isn't already zeroed is the call from vmx_create_vcpu()
as setup_vmcs_config() zeroes the struct in the other use cases. This
will allow @nested to be statically defined in vmx.c, i.e. this removes
the last direct reference from nested code.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
