Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nfvtt-0005rA-QP for qemu-devel@nongnu.org; Fri, 12 Feb 2010 08:49:41 -0500 Received: from [199.232.76.173] (port=52212 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nfvtt-0005qf-6L for qemu-devel@nongnu.org; Fri, 12 Feb 2010 08:49:41 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nfvtr-00076B-Lb for qemu-devel@nongnu.org; Fri, 12 Feb 2010 08:49:40 -0500 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:53532 helo=akado.ru) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nfvtr-00074z-BI for qemu-devel@nongnu.org; Fri, 12 Feb 2010 08:49:39 -0500 Date: Fri, 12 Feb 2010 16:49:23 +0300 (MSK) From: malc Subject: Re: [Qemu-devel] Heads up: glibc preadv emulation breaks qemu on older kernels In-Reply-To: <20100212125238.GA22221@lst.de> Message-ID: References: <20100211190608.GA26410@amd.home.annexia.org> <20100212125238.GA22221@lst.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: "Richard W.M. Jones" , qemu-devel@nongnu.org On Fri, 12 Feb 2010, Christoph Hellwig wrote: > On Thu, Feb 11, 2010 at 07:06:08PM +0000, Richard W.M. Jones wrote: > > One interesting thing is that qemu has its own preadv emulation (which > > does the emulation correctly), but this is never used because qemu > > never gets ENOSYS back from preadv. > > At this point the amount of bugs in the glibc preadv/pwritev code really > make me want to go to use the raw system calls on Linux only. Any > opinions from the maintainers if that is acceptable? There are more than one way to parse the first sentence, if it should be read as: On linux and on linux only avoid using pread/write[v] and talk to the kernel directly. Then i agree. -- mailto:av1474@comtv.ru