qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Amit Shah <amit.shah@redhat.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCHv2] Fix virtio-console failure on unconnected pty
Date: Thu, 29 Dec 2011 14:39:22 +0100	[thread overview]
Message-ID: <4EFC6D8A.6080003@suse.de> (raw)
In-Reply-To: <20111229132756.GB4576@amit.redhat.com>

Am 29.12.2011 14:27, schrieb Amit Shah:
> On (Thu) 29 Dec 2011 [13:47:43], Christian Borntraeger wrote:
>> From: Christian Borntraeger <borntraeger@de.ibm.com>
>>     
>> when I tried qemu with -virtio-console pty the guest hangs and attaching on /dev/pts/<x> does
>> not return anything if the attachement is too late.

"attachment", while you're at it.

Andreas

>> Turns out that the console is already throttled and the guest is heavily spinning but get_buf
>> never returns the buffer. There seems to be no way for the console to unthrottle the port.
> 
> It doesn't really get throttled, since the throttling
> enabling/disabling isn't yet done in QEMU.  What happens is that the
> chardev buffer gets filled up and qemu_chr_fe_write() doesn't return
> -- send_all() keeps spinning.
> 
> I'll adjust the commit log message and submit.
> 
> Thanks.
> 
> 		Amit

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2011-12-29 13:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-15 12:44 [Qemu-devel] [RFC] virtio-console fails on unconnected pty Christian Borntraeger
2011-12-16  9:23 ` Amit Shah
2011-12-29 12:47 ` [Qemu-devel] [PATCHv2] Fix virtio-console failure " Christian Borntraeger
2011-12-29 13:27   ` Amit Shah
2011-12-29 13:39     ` Andreas Färber [this message]
2011-12-29 14:04   ` Amit Shah
2011-12-29 14:16     ` Christian Borntraeger
2011-12-29 14:19       ` Christian Borntraeger
2011-12-29 14:26       ` Amit Shah
2011-12-29 14:32         ` Christian Borntraeger
2011-12-29 14:56           ` Amit Shah
2011-12-29 15:14             ` Christian Borntraeger
2011-12-29 15:14           ` Amit Shah
2012-01-02 15:34             ` Alexander Graf
2012-01-02 15:41               ` Christian Borntraeger
2012-01-02 16:55                 ` Alexander Graf
2012-01-03 15:49                   ` Amit Shah

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=4EFC6D8A.6080003@suse.de \
    --to=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=amit.shah@redhat.com \
    --cc=borntraeger@de.ibm.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 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).