qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 1/6] cutils: extract buffer_is_zero() from qe


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v4 1/6] cutils: extract buffer_is_zero() from qemu-img.c
Date: Mon, 6 Feb 2012 15:37:44 +0000

On Tue, Jan 24, 2012 at 3:03 PM, Kevin Wolf <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]