On Tue, Jan 24, 2012 at 3:03 PM, Kevin Wolf <kw...@redhat.com> wrote: > Am 18.01.2012 15:59, schrieb Stefan Hajnoczi: >> @@ -303,6 +303,40 @@ void qemu_iovec_memset_skip(QEMUIOVector *qiov, int c, >> size_t count, >> } >> } >> >> +/* >> + * Checks if a buffer is all zeroes >> + * >> + * Attention! The len must be a multiple of 4 * sizeof(long) due to >> + * restriction of optimizations in this function. >> + */ > > Sounds like something to assert(), while you're touching the code.
Okay, will fix. Stefan