Re: [Qemu-devel] [PATCH] tests/tcg/multiarch: fix 32bit linux-test on 64bit host

2018-11-14 Thread Laurent Vivier
On 14/11/2018 11:23, Alex Bennée wrote: > > Laurent Vivier writes: > >> Fix: >> >> TESTlinux-test on i386 >> .../tests/tcg/multiarch/linux-test.c:201: readdir >> >> readdir() calls getdents64() to have the list of the entries in a >> directory, and getdents64() can return 64bit d_off val

Re: [Qemu-devel] [PATCH] tests/tcg/multiarch: fix 32bit linux-test on 64bit host

2018-11-14 Thread Alex Bennée
Laurent Vivier writes: > Fix: > > TESTlinux-test on i386 > .../tests/tcg/multiarch/linux-test.c:201: readdir > > readdir() calls getdents64() to have the list of the entries in a > directory, and getdents64() can return 64bit d_off values (with ext4, > for instance) that will not fit in

[Qemu-devel] [PATCH] tests/tcg/multiarch: fix 32bit linux-test on 64bit host

2018-11-13 Thread Laurent Vivier
Fix: TESTlinux-test on i386 .../tests/tcg/multiarch/linux-test.c:201: readdir readdir() calls getdents64() to have the list of the entries in a directory, and getdents64() can return 64bit d_off values (with ext4, for instance) that will not fit in the 32bit d_off field of the readdir() d