Re: [PATCH] KVM: selftests: kvm_binary_stats_test: Fix index expressions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 14, 2022, Andrew Jones wrote:
> kvm_binary_stats_test accepts two arguments, the number of vms
> and number of vcpus. If these inputs are not equal then the
> test would likely crash for one reason or another due to using
> miscalculated indices for the vcpus array. Fix the index
> expressions by swapping the use of i and j.
> 
> Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx>
> ---

Thanks!  I had done this locally but lost track of it when updating kvm/queue.

Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux