qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [PATCH v2] input: mouse_set should check input device


From: Gerd Hoffmann
Subject: Re: [Qemu-trivial] [PATCH v2] input: mouse_set should check input device type.
Date: Tue, 01 Apr 2014 08:26:00 +0200

On Mo, 2014-03-31 at 23:09 +0100, Hani Benhabiles wrote:
> Otherwise, the index of an input device like a usb-kbd is silently
> accepted.
> 
> (qemu) info mice
>   Mouse #2: QEMU PS/2 Mouse
> * Mouse #3: QEMU HID Mouse
> (qemu) mouse_set 1
> (qemu) info mice
>   Mouse #2: QEMU PS/2 Mouse
> * Mouse #3: QEMU HID Mouse
> 
> Also replace monitor_printf() call in do_mouse_set() with
> error_report() and
> adjust error message.

Added to input patch queue.

thanks,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]