From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvsXy-0007Bs-Qr for qemu-devel@nongnu.org; Sun, 28 Mar 2010 09:28:58 -0400 Received: from [140.186.70.92] (port=60848 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvsXx-0007BJ-4r for qemu-devel@nongnu.org; Sun, 28 Mar 2010 09:28:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvsXw-00027c-1m for qemu-devel@nongnu.org; Sun, 28 Mar 2010 09:28:57 -0400 Received: from mail2.shareable.org ([80.68.89.115]:55297) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvsXv-00026B-Tt for qemu-devel@nongnu.org; Sun, 28 Mar 2010 09:28:56 -0400 Date: Sun, 28 Mar 2010 14:28:40 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] Re: [PATCH v3 1/1] Shared memory uio_pci driver Message-ID: <20100328132840.GC3417@shareable.org> References: <8286e4ee1003250924q7cca5e71u8b8b7c6d8b785eb8@mail.gmail.com> <4BAB90BB.5030401@redhat.com> <8286e4ee1003260914u5e6ceee2pf0c00590de182fb6@mail.gmail.com> <4BAE44F2.20801@redhat.com> <20100328074754.GA21749@redhat.com> <4BAF0D03.7060300@redhat.com> <20100328094006.GB21749@redhat.com> <4BAF251E.50609@redhat.com> <20100328103123.GC21749@redhat.com> <4BAF39B7.1010508@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BAF39B7.1010508@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Cam Macdonell , qemu-devel@nongnu.org, kvm@vger.kernel.org, "Michael S. Tsirkin" Avi Kivity wrote: > ioctls encode the buffer size into the ioctl number, so in theory strace > doesn't need to be taught about an ioctl to show its buffer. Unfortunately ioctl numbers don't always follow that rule :-( But maybe that's just awful proprietary drivers that I've seen. Anyway, strace should be taught how to read kernel headers to get ioctl types ;-) -- Jamie