]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
cutils: Export only buffer_is_zero
authorRichard Henderson <rth@twiddle.net>
Mon, 29 Aug 2016 18:46:14 +0000 (11:46 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Sep 2016 17:09:45 +0000 (19:09 +0200)
commita1febc4950f2c6232c002f401d7cd409f6fa6a88
tree7ebdb3326826537aa8a343d2af3e345f7c84706f
parent8c70c1b0c79cdfe9cc6e58c793b2b4e41aabede8
cutils: Export only buffer_is_zero

Since the two users don't make use of the returned offset,
beyond ensuring that the entire buffer is zero, consider the
can_use_buffer_find_nonzero_offset and buffer_find_nonzero_offset
functions internal.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1472496380-19706-4-git-send-email-rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/cutils.h
migration/ram.c
migration/rdma.c
util/bufferiszero.c