Re: [Qemu-devel] Valgrind confused by queue macros

2019-09-12 Thread Andrey Shinkevich
On 12/09/2019 02:15, John Snow wrote: > > > On 9/10/19 9:27 AM, Mark Syms wrote: >> Hi, >> >> While trying to track down an issue in using qemu 4.1 with some development >> features we needed/wanted to run valgrind on it to find a memory error. >> Unfortunately the form of the queue macros

Re: [Qemu-devel] Valgrind confused by queue macros

2019-09-11 Thread John Snow
On 9/10/19 9:27 AM, Mark Syms wrote: > Hi, > > While trying to track down an issue in using qemu 4.1 with some development > features we needed/wanted to run valgrind on it to find a memory error. > Unfortunately the form of the queue macros seems to really confuse valgrind > and cause it

[Qemu-devel] Valgrind confused by queue macros

2019-09-10 Thread Mark Syms
Hi, While trying to track down an issue in using qemu 4.1 with some development features we needed/wanted to run valgrind on it to find a memory error. Unfortunately the form of the queue macros seems to really confuse valgrind and cause it to report many " Use of uninitialised value " errors.