Re: [Qemu-devel] [PATCH v4 1/2] tests: Use real size for iov tests

2017-09-01 Thread Juan Quintela
"Daniel P. Berrange" wrote: > On Fri, Sep 01, 2017 at 01:54:59PM +0200, Juan Quintela wrote: >> We were using -1 instead of the real size because the functions check >> what is bigger, size in bytes or the size of the iov. Recent gcc's >> barf at this. >> >> Signed-off-by: Juan Quintela >> Revi

Re: [Qemu-devel] [PATCH v4 1/2] tests: Use real size for iov tests

2017-09-01 Thread Daniel P. Berrange
On Fri, Sep 01, 2017 at 01:54:59PM +0200, Juan Quintela wrote: > We were using -1 instead of the real size because the functions check > what is bigger, size in bytes or the size of the iov. Recent gcc's > barf at this. > > Signed-off-by: Juan Quintela > Reviewed-by: Peter Xu > Tested-by: Clebe

[Qemu-devel] [PATCH v4 1/2] tests: Use real size for iov tests

2017-09-01 Thread Juan Quintela
We were using -1 instead of the real size because the functions check what is bigger, size in bytes or the size of the iov. Recent gcc's barf at this. Signed-off-by: Juan Quintela Reviewed-by: Peter Xu Tested-by: Cleber Rosa -- Remove comments about this feature. Fix missing -1. --- include/