From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: Re: [PATCH] Pass-through a graphic card Date: Fri, 9 May 2008 12:32:55 +0100 Message-ID: <20080509113255.GP4786@implementation.uk.xensource.com> References: <48243170.7050706@eu.citrix.com> <482432F7.202@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <482432F7.202@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jean Guyader Cc: Ian Pratt , xen-devel@lists.xensource.com, Keir Fraser , Kamala Narasimhan List-Id: xen-devel@lists.xenproject.org Jean Guyader, le Fri 09 May 2008 12:18:15 +0100, a écrit : > +#define EVENT_MAX 10 > +#define EVENT_PATH "/dev/input/event" > + > +struct dom0_driver > +{ > + int event_fds[EVENT_MAX]; > + int mouse_button_state; > +}; Dynamically allocate event_fds instead of having a fixed limit? (I have already 8 input devices on my laptop ;) ) Samuel