On Fri, Feb 12, 2010 at 11:28:57AM -0600, Anthony Liguori wrote: > I think a configure option would be in order. Forever avoiding glibc is > probably a bit extreme.
I think a configure option won't work. The issue here was that the binary is being installed on a machine with an older kernel. Unfortunately it's pretty hard to test this at runtime too (preadv doesn't return ENOSYS, and there isn't really a good way to test if the preadv "syscall" is broken because the randomly aligned buffer might be aligned OK). I don't think there's a good solution for this at the qemu level. However I have a working patch for glibc: https://bugzilla.redhat.com/show_bug.cgi?id=563103#c13 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/