Re: [Qemu-devel] [PATCH] ui/input: strictly check console in finding input handler

2014-11-06 Thread Amos Kong
On Thu, Nov 06, 2014 at 11:01:11PM +0800, Amos Kong wrote: > On Thu, Nov 06, 2014 at 02:37:54PM +0800, Amos Kong wrote: > > On Wed, Nov 05, 2014 at 09:47:47AM +0100, Gerd Hoffmann wrote: > > > On Mi, 2014-11-05 at 00:49 +0800, Amos Kong wrote: > > > > qemu_input_find_handler() prefers a handler ass

Re: [Qemu-devel] [PATCH] ui/input: strictly check console in finding input handler

2014-11-06 Thread Amos Kong
On Thu, Nov 06, 2014 at 02:37:54PM +0800, Amos Kong wrote: > On Wed, Nov 05, 2014 at 09:47:47AM +0100, Gerd Hoffmann wrote: > > On Mi, 2014-11-05 at 00:49 +0800, Amos Kong wrote: > > > qemu_input_find_handler() prefers a handler associated with con. > > > But if none exists, it takes any. This patc

Re: [Qemu-devel] [PATCH] ui/input: strictly check console in finding input handler

2014-11-06 Thread Markus Armbruster
Gerd Hoffmann writes: > On Mi, 2014-11-05 at 00:49 +0800, Amos Kong wrote: >> qemu_input_find_handler() prefers a handler associated with con. >> But if none exists, it takes any. This patch added a parameter >> to strictly check console, in case we want to input event to >> special console. >>

Re: [Qemu-devel] [PATCH] ui/input: strictly check console in finding input handler

2014-11-05 Thread Amos Kong
On Wed, Nov 05, 2014 at 09:47:47AM +0100, Gerd Hoffmann wrote: > On Mi, 2014-11-05 at 00:49 +0800, Amos Kong wrote: > > qemu_input_find_handler() prefers a handler associated with con. > > But if none exists, it takes any. This patch added a parameter > > to strictly check console, in case we want

Re: [Qemu-devel] [PATCH] ui/input: strictly check console in finding input handler

2014-11-05 Thread Gerd Hoffmann
On Mi, 2014-11-05 at 00:49 +0800, Amos Kong wrote: > qemu_input_find_handler() prefers a handler associated with con. > But if none exists, it takes any. This patch added a parameter > to strictly check console, in case we want to input event to > special console. > > 'input-send-event' has a para

[Qemu-devel] [PATCH] ui/input: strictly check console in finding input handler

2014-11-04 Thread Amos Kong
qemu_input_find_handler() prefers a handler associated with con. But if none exists, it takes any. This patch added a parameter to strictly check console, in case we want to input event to special console. 'input-send-event' has a parameter to assign special console, so we should enable strict che