diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-18 13:54:50 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-24 09:18:54 +0100 |
commit | 34109c0476f10c033945b630a58c087e9d0ef8a0 (patch) | |
tree | 68fac8448334de33281bc84d38240f6ecc80d576 /arch/x86/kvm/svm.c | |
parent | 034d8e2cb929ed73e32e2dba98cb8067eab85964 (diff) |
KVM: VMX: Use direct vcpu pointer during vCPU create/free
Capture the vcpu pointer in a local varaible and replace '&vmx->vcpu'
references with a direct reference to the pointer in anticipation of
moving bits of the code to common x86 and passing the vcpu pointer into
vmx_create_vcpu(), i.e. eliminate unnecessary noise from future patches.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions