diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2019-11-13 04:15:21 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-11-13 17:50:39 +0300 |
commit | 6cbee2b9eccfc1c93a03aaa286ec93331f7c95e7 (patch) | |
tree | c97f491e02cb4133c2ff76f09dd33df1fcf0278a /virt/lib | |
parent | e37f9f139f62deddff90c7298ae3a85026a71067 (diff) |
KVM: X86: Reset the three MSR list number variables to 0 in kvm_init_msr_list()
When applying commit 7a5ee6edb42e ("KVM: X86: Fix initialization of MSR
lists"), it forgot to reset the three MSR lists number varialbes to 0
while removing the useless conditionals.
Fixes: 7a5ee6edb42e (KVM: X86: Fix initialization of MSR lists)
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/lib')
0 files changed, 0 insertions, 0 deletions