qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Amit Shah <amit.shah@redhat.com>
To: Bug 1154328 <1154328@bugs.launchpad.net>
Cc: Anthony Liguori <anthony@codemonkey.ws>,
	qemu-devel@nongnu.org, aurelien@aurel32.net
Subject: Re: [Qemu-devel] [Bug 1154328] [NEW] qemu locks up on typing 41 characters at once	into serial console
Date: Mon, 1 Apr 2013 12:26:16 +0530	[thread overview]
Message-ID: <20130401065616.GA21467@amit.redhat.com> (raw)
In-Reply-To: <20130312213129.25163.84447.malonedeb@gac.canonical.com>

On (Tue) 12 Mar 2013 [21:31:29], Andreas Gustafsson wrote:

>   Now cut-and-paste a string containing at least 41 characters into the
>   terminal window.  I used a string containing 41 copies of the letter
>   "X".  You can use other strings, but beware of pasting strings
>   containing valid shell commands, as they may end up being executed on
>   the host (see below).
> 
>   If your copy of qemu is suffering from the bug, it will lock up.  Not
>   only will the virtual machine no longer respond to keystrokes, but
>   qemu itself will no longer respond to commands such as "control-a c".
>   You will have to kill it from a different terminal window.  When the
>   qemu process is killed, any pasted characters after the first 40 will
>   be read and executed by the host shell, suggesting that they were never
>   even read by the qemu process.  As I had typed a return after pasting
>   the 41 X:es, the host shell executed the command "X", thereby
>   accidentally attempting (unsuccessfully) to start an X server.
> 
>   "git bisect" implicates the following commit:
> 
>     commit a29753f8aa79a34a324afebe340182a51a5aef11
>     Author: Anthony Liguori <aliguori@us.ibm.com>
>     Date:   Tue Mar 5 23:21:19 2013 +0530
> 
>         qemu-char: convert fd_chr to use a GIOChannel
> 
>            This uses the newly introduced IOWatchPoll source.

Does

[PATCH] qemu-char: rewrite io_channel_send_all and drop the '_all' suffix

that's on the list help?

If not, does reverting fcfb4d6aae611d1f804d486d3c998000912c4c81 help?

(That is "serial: add flow control to transmit").


		Amit

  reply	other threads:[~2013-04-01  6:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 21:31 [Qemu-devel] [Bug 1154328] [NEW] qemu locks up on typing 41 characters at once into serial console Andreas Gustafsson
2013-04-01  6:56 ` Amit Shah [this message]
2013-04-01 17:04   ` Aurelien Jarno
2013-04-07 15:51 ` [Qemu-devel] [Bug 1154328] " Andreas Gustafsson
2013-04-10 15:50 ` Andreas Gustafsson
2013-05-17 18:00 ` Andreas Gustafsson
2013-05-20 17:31 ` Aurelien Jarno

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=20130401065616.GA21467@amit.redhat.com \
    --to=amit.shah@redhat.com \
    --cc=1154328@bugs.launchpad.net \
    --cc=anthony@codemonkey.ws \
    --cc=aurelien@aurel32.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).