Skip to content
Commit c910662c authored by Tian Tao's avatar Tian Tao Committed by Paolo Bonzini
Browse files

KVM: X86: use vzalloc() instead of vmalloc/memset



fixed the following warning:
/virt/kvm/dirty_ring.c:70:20-27: WARNING: vzalloc should be used for
ring -> dirty_gfns, instead of vmalloc/memset.

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Message-Id: <1611547045-13669-1-git-send-email-tiantao6@hisilicon.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 15b51dc0
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