From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41589 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdPt2-0003SU-U5 for qemu-devel@nongnu.org; Thu, 13 Jan 2011 11:18:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdPt1-0003HA-P7 for qemu-devel@nongnu.org; Thu, 13 Jan 2011 11:18:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:10199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdPt1-0003H3-EB for qemu-devel@nongnu.org; Thu, 13 Jan 2011 11:18:55 -0500 Message-ID: <4D2F25EA.3020606@redhat.com> Date: Thu, 13 Jan 2011 18:18:50 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] paravirtual mouse/tablet References: <4D2ED1C8.7070304@redhat.com> In-Reply-To: <4D2ED1C8.7070304@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: spice-devel , "qemu-devel@nongnu.org" On 01/13/2011 12:19 PM, Gerd Hoffmann wrote: > Hi, > > Just throwing a quick writeup into the ring to kickstart the design > discussion ;) > > > typedef struct qemu_pvtablet_message { > uint32_t size; /* whole message size */ > uint32_t type; /* qemu_pvtablet_type */ > uint64_t tv_secs; > uint64_t tv_usecs; time relative to what base? can we actually provide it? if the tablet is remote, there may not be a synchronized time source. > union { > qemu_pvtablet_position position; > qemu_pvtablet_button button; > qemu_pvtablet_display display; > } m; > } qemu_pvtablet_message; > So the message size for a qemu_pvtablet_position would only include the position member? -- error compiling committee.c: too many arguments to function