[Top][All Lists]

[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: Avi Kivity
Subject: Re: [Qemu-devel] Heads up: glibc preadv emulation breaks qemu on older kernels
Date: Tue, 16 Feb 2010 12:41:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1

On 02/16/2010 12:16 AM, Christoph Hellwig wrote:
On Fri, Feb 12, 2010 at 11:28:57AM -0600, Anthony Liguori wrote:
Yes.  The BSDs tend to not play stupid emulation games in the libc, so
changes of these kinds of messups to happen are far less.

In all fairness, I seem to recall there being a problem with the kernel
implementation of preadv/pwritev too.
I would be surprised by that as it's just an entirely trivial entry
point to long existant infrastructure.  I even checked the commit logs
and that code hasn't been touched at all since the initial commit.
So if people have problems with it, please report it..

IIRC there was a problem with wiring up glibc to use p*v on i386. The large number and size of the arguments caused some confusion wrt the calling convention, or something. So it's only fair that glibc emulation of the syscall would be broken too.

error compiling committee.c: too many arguments to function

reply via email to

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