Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhKvx-0003ML-B2 for qemu-devel@nongnu.org; Tue, 16 Feb 2010 05:45:37 -0500 Received: from [199.232.76.173] (port=43681 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhKvv-0003LF-Ey for qemu-devel@nongnu.org; Tue, 16 Feb 2010 05:45:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NhKvt-00052z-Rq for qemu-devel@nongnu.org; Tue, 16 Feb 2010 05:45:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24683) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NhKvt-00052t-Fs for qemu-devel@nongnu.org; Tue, 16 Feb 2010 05:45:33 -0500 Date: Tue, 16 Feb 2010 10:45:23 +0000 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] Heads up: glibc preadv emulation breaks qemu on older kernels Message-ID: <20100216104523.GE5104@amd.home.annexia.org> References: <20100211190608.GA26410@amd.home.annexia.org> <20100212125238.GA22221@lst.de> <20100212135044.GA24209@lst.de> <4B758FD9.2010807@codemonkey.ws> <20100215221638.GA19495@lst.de> <4B7A7667.6010601@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B7A7667.6010601@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Christoph Hellwig , qemu-devel@nongnu.org On Tue, Feb 16, 2010 at 12:41:43PM +0200, Avi Kivity wrote: > 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. It might be this bug: https://bugzilla.redhat.com/show_bug.cgi?id=533063 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora