On 03/08/2010 12:34 AM, Christoph Hellwig wrote:
On Sun, Mar 07, 2010 at 07:30:06PM +0200, Avi Kivity wrote:
It may also be that glibc is emulating preadv, incorrectly.
I've done a quick audit of all pathes leading to pread and all seem
to align correctly. So either a broken glibc emulation or something
else outside the block layer seems likely.
Antoine, can you check this? ltrace may help, or run 'strings libc.so |
grep pread'.
Or just add an
#undef CONFIG_PREADV
just before the first
#ifdef CONFIG_PREADV
in posix-aio-compat.c and see if that works.
It does indeed! qemu-kvm-0.12.3 is now seeing my partition again. woohoo!
So, PREAD makes it break... how, where? What does this mean?
Thanks a lot!
Antoine
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html