Re: [Qemu-devel] [PATCH 2/7] cutils: Export only buffer_is_zero

2016-08-24 Thread Dr. David Alan Gilbert
* Richard Henderson (r...@twiddle.net) wrote: > 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. > > Signed-off-by: Richard Henderson

[Qemu-devel] [PATCH 2/7] cutils: Export only buffer_is_zero

2016-08-23 Thread Richard Henderson
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. Signed-off-by: Richard Henderson --- include/qemu/cutils.h | 2 -- migration/ram.c |