[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [PATCH] Pass-through a graphic card



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.