Re: [Qemu-devel] [PATCH qemu 4/6] virtio-input: emulated devices

2014-04-11 Thread Gerd Hoffmann
Hi, > If drivers don't expect a mix of functionality, then separate IDs > seem better. The linux kernel can deal with it just fine. It's just that humans are more used to have separate devices. And I remember back in the dark xen days the input channel for xenfb was a unified input device whi

Re: [Qemu-devel] [PATCH qemu 4/6] virtio-input: emulated devices

2014-04-10 Thread Michael S. Tsirkin
On Thu, Apr 10, 2014 at 01:47:08PM +0200, Gerd Hoffmann wrote: > On Do, 2014-04-10 at 13:55 +0300, Michael S. Tsirkin wrote: > > On Thu, Apr 10, 2014 at 11:07:52AM +0200, Gerd Hoffmann wrote: > > > This patch adds the virtio-input-hid base class and > > > virtio-{keyboard,mouse,tablet} subclasses b

Re: [Qemu-devel] [PATCH qemu 4/6] virtio-input: emulated devices

2014-04-10 Thread Gerd Hoffmann
On Do, 2014-04-10 at 13:55 +0300, Michael S. Tsirkin wrote: > On Thu, Apr 10, 2014 at 11:07:52AM +0200, Gerd Hoffmann wrote: > > This patch adds the virtio-input-hid base class and > > virtio-{keyboard,mouse,tablet} subclasses building on the base class. > > They are hooked up to the qemu input cor

Re: [Qemu-devel] [PATCH qemu 4/6] virtio-input: emulated devices

2014-04-10 Thread Michael S. Tsirkin
On Thu, Apr 10, 2014 at 11:07:52AM +0200, Gerd Hoffmann wrote: > This patch adds the virtio-input-hid base class and > virtio-{keyboard,mouse,tablet} subclasses building on the base class. > They are hooked up to the qemu input core and deliver input events > to the guest like all other hid devices