Skip to content
Commit c9b8fecd authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: use kvcalloc for array allocations



Instead of using array_size, use a function that takes care of the
multiplication.  While at it, switch to kvcalloc since this allocation
should not be very large.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 6d849191
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment