diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2019-10-20 11:11:00 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-22 13:46:12 +0200 |
commit | 4be5341026246870818e28b53202b001426a5aec (patch) | |
tree | 07209105b24951eeef57983ab8498a295ef28e41 /lib | |
parent | KVM: VMX: Remove vmx->hv_deadline_tsc initialization from vmx_vcpu_setup() (diff) | |
download | linux-4be5341026246870818e28b53202b001426a5aec.tar.xz linux-4be5341026246870818e28b53202b001426a5aec.zip |
KVM: VMX: Initialize vmx->guest_msrs[] right after allocation
Move the initialization of vmx->guest_msrs[] from vmx_vcpu_setup() to
vmx_create_vcpu(), and put it right after its allocation.
This also is the preperation for next patch.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions