commit | 4be5341026246870818e28b53202b001426a5aec | [log] [tgz] |
---|---|---|
author | Xiaoyao Li <xiaoyao.li@intel.com> | Sun Oct 20 17:11:00 2019 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Oct 22 13:46:12 2019 +0200 |
tree | 07209105b24951eeef57983ab8498a295ef28e41 | |
parent | 3c0f4be1f33b25bd28be1672ecb53627577c0899 [diff] |
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>