From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcEvZ-0005ek-2O for qemu-devel@nongnu.org; Tue, 14 May 2013 09:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcEWF-0001PE-OS for qemu-devel@nongnu.org; Tue, 14 May 2013 08:39:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcEWF-0001Oo-G4 for qemu-devel@nongnu.org; Tue, 14 May 2013 08:39:51 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4ECdnrR003905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 14 May 2013 08:39:49 -0400 Message-ID: <51923121.3040403@redhat.com> Date: Tue, 14 May 2013 14:42:09 +0200 From: Laszlo Ersek MIME-Version: 1.0 References: <1366346658-4680-1-git-send-email-akong@redhat.com> In-Reply-To: <1366346658-4680-1-git-send-email-akong@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] monitor: intervally send down events to guest in hold time List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: kraxel@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com 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 > --- > This patch based on Luiz's qmp-unstable/queue/qmp > > Signed-off-by: Amos Kong > --- > 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? Thanks, Laszlo