From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: linux-aio usable? Date: Tue, 09 Mar 2010 12:05:49 +0200 Message-ID: <4B961D7D.20107@redhat.com> References: <4B94BF05.20609@redhat.com> <4B9559DA.8000407@msgid.tls.msk.ru> <4B955BD7.1010508@msgid.tls.msk.ru> <4B961003.9010807@redhat.com> <4B96128F.10608@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Bernhard Schmidt , kvm@vger.kernel.org To: Michael Tokarev Return-path: Received: from mx1.redhat.com ([209.132.183.28]:54969 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752892Ab0CIKGG (ORCPT ); Tue, 9 Mar 2010 05:06:06 -0500 In-Reply-To: <4B96128F.10608@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: On 03/09/2010 11:19 AM, Michael Tokarev wrote: > >> Can you elaborate? This sounds like a bug that wants to be fixed. >> > http://thread.gmane.org/gmane.linux.kernel.aio.general/2891 > > It's missing compat_ioctl for some of the aio opcodes, namely > it's PREADV and PWRITE - the only ones used by kvm and the only > ones missing in kernel. > > As far as i can see, current code converts the iocb array just > fine, but does not touch iovec array used with p{read,write}v. > Yikes, looks pretty bad. -- error compiling committee.c: too many arguments to function