From: Anthony Liguori <anthony@codemonkey.ws>
To: Laszlo Ersek <lersek@redhat.com>, Amos Kong <akong@redhat.com>
Cc: lcapitulino@redhat.com, kraxel@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] monitor: intervally send down events to guest in hold time
Date: Tue, 14 May 2013 09:55:26 -0500 [thread overview]
Message-ID: <87a9nx6275.fsf@codemonkey.ws> (raw)
In-Reply-To: <51923121.3040403@redhat.com>
Laszlo Ersek <lersek@redhat.com> writes:
> Hi,
>
> On 04/19/13 06:44, Amos Kong wrote:
>> (qemu) sendkey a 1000
>>
>> Current design is that qemu only send one down event to guest,
>> and delay sometime, then send one up event. In this case, only
>> key can be identified by guest.
>>
>> This patch changed qemu to intervally send down events to guest
>> in the hold time, the interval is 100ms.
>>
>> (qemu) sendkey a 1000
>>
>> qemu will send 9 down events, 1 up event to guest, we can see
>> 9 'a' in guest screen.
>>
>> Signed-off-by: Amos Kong <akong@redhat.com>
>> ---
>> This patch based on Luiz's qmp-unstable/queue/qmp
>>
>> Signed-off-by: Amos Kong <akong@redhat.com>
>> ---
>> hmp-commands.hx | 4 +++-
>> qmp-commands.hx | 3 ++-
>> ui/input.c | 38 ++++++++++++++++++++++++++------------
>> 3 files changed, 31 insertions(+), 14 deletions(-)
>
> What's the status of this patch if I may ask?
1) It's unclear if this is the right solution. If key repeat is done in
the PS/2 controller, then that's where the logic here should be.
2) It's a compat breaker from a QMP perspective.
Regards,
Anthony Liguori
>
> Thanks,
> Laszlo
next prev parent reply other threads:[~2013-05-14 14:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 4:44 [Qemu-devel] [PATCH] monitor: intervally send down events to guest in hold time Amos Kong
2013-04-20 16:06 ` Eric Blake
2013-04-22 7:32 ` Amos Kong
2013-04-22 8:09 ` Amos Kong
2013-04-22 9:33 ` Paolo Bonzini
2013-04-22 12:43 ` Luiz Capitulino
2013-04-22 13:03 ` Paolo Bonzini
2013-04-22 13:35 ` Gerd Hoffmann
2013-04-22 14:32 ` Paolo Bonzini
2013-04-22 15:20 ` Gerd Hoffmann
2013-04-22 15:41 ` Paolo Bonzini
2013-04-22 14:02 ` Anthony Liguori
2013-04-22 14:22 ` Luiz Capitulino
2013-04-23 2:24 ` Amos Kong
2013-04-22 8:25 ` [Qemu-devel] [PATCH] ui/input.c: replace magic numbers by macros Amos Kong
2013-04-22 16:25 ` [Qemu-devel] [PATCH] monitor: intervally send down events to guest in hold time Eric Blake
2013-05-14 12:42 ` Laszlo Ersek
2013-05-14 14:55 ` Anthony Liguori [this message]
2013-05-15 8:13 ` Amos Kong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9nx6275.fsf@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=akong@redhat.com \
--cc=kraxel@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=lersek@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.