All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Asias He <asias.hejun@gmail.com>
Cc: Pekka Enberg <penberg@kernel.org>,
	Cyrill Gorcunov <gorcunov@gmail.com>,
	kvm@vger.kernel.org
Subject: Re: [PATCH] kvm tools: Fix virtio console input problem
Date: Sat, 16 Apr 2011 09:42:24 +0200	[thread overview]
Message-ID: <20110416074224.GA19063@elte.hu> (raw)
In-Reply-To: <4DA8F4BD.2050903@gmail.com>


* Asias He <asias.hejun@gmail.com> wrote:

> On 04/16/2011 02:23 AM, Ingo Molnar wrote:
> > 
> > * Asias He <asias.hejun@gmail.com> wrote:
> > 
> >> Signed-off-by: Asias He <asias.hejun@gmail.com>
> >> ---
> >>  tools/kvm/term.c |    4 ++--
> >>  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > Mind explaining in the changelog what input problem this is about?
> 
> Sure. See attached patch.
> 
> -- 
> Best Regards,
> Asias He

> >From 6a123c8001c3c36ae5cc08d2980588491a6ef1ef Mon Sep 17 00:00:00 2001
> From: Asias He <asias.hejun@gmail.com>
> Date: Fri, 15 Apr 2011 22:55:04 +0800
> Subject: [PATCH] kvm tools: Fix virtio console input problem
> 
> term_getc only get one char at a time, so term_getc_iov should
> send one char back to guest.
> 
> Otherwise, you will get four input chars when you only type one like bewlow:
> 
> sid login: r^@^@^@o^@^@^@o^@^@^@t^@^@^@
> 
> Signed-off-by: Asias He <asias.hejun@gmail.com>
> ---
>  tools/kvm/term.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)

Ok, that changelog is much more informative, thanks!
Small typo: s/bewlow/below.

	Ingo

      reply	other threads:[~2011-04-16  7:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-15 14:58 [PATCH] kvm tools: Fix virtio console input problem Asias He
2011-04-15 18:23 ` Ingo Molnar
2011-04-16  1:45   ` Asias He
2011-04-16  7:42     ` Ingo Molnar [this message]

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=20110416074224.GA19063@elte.hu \
    --to=mingo@elte.hu \
    --cc=asias.hejun@gmail.com \
    --cc=gorcunov@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=penberg@kernel.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.