On 08/01/2018 08:28 AM, Richard W.M. Jones wrote:
>> +
>> +/* Return true iff the buffer is all zero bytes.
>> + *
>> + * The clever approach here was suggested by Eric Blake. See:
>> + *
https://www.redhat.com/archives/libguestfs/2017-April/msg00171.html
>
>
> It would be nice to mention the original author:
>
http://rusty.ozlabs.org/?p=560
Thanks - I didn't know that. I will add the link to the comment.
Yes - I didn't invent the approach, but pointed it out based on earlier
qemu list traffic that had the link to Rusty's blog.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org