qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Heads up: glibc preadv emulation breaks qemu on older k


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] Heads up: glibc preadv emulation breaks qemu on older kernels
Date: Fri, 12 Feb 2010 18:47:55 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]