qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [Qemu-devel] [PATCH 00/19] chardev flow control
           [not found] <1361224096-21075-1-git-send-email-aliguori@us.ibm.com>
           [not found] ` <1361224096-21075-17-git-send-email-aliguori@us.ibm.com>
    @ 2013-03-24 18:02 ` Jan Kiszka
      1 sibling, 0 replies; 2+ messages in thread
    From: Jan Kiszka @ 2013-03-24 18:02 UTC (permalink / raw)
      To: Anthony Liguori; +Cc: Amit Shah, Paolo Bonzini, qemu-devel
    
    [-- Attachment #1: Type: text/plain, Size: 793 bytes --]
    
    On 2013-02-18 22:47, Anthony Liguori wrote:
    > This series implements an idea from Paolo to introduce flow control
    > in the char layer by converting all char backends to use GIOChannels
    > internally.  Then we can just use the existing IO watch support in glib
    > to implement flow control.
    > 
    > This is based on a rebased version of an old series of mine plus a
    > number of improvements from Amit Shah.
    
    There is a problem with these changes, maybe just a small bug but I do
    not see a simple solution yet:
    
    If an input channel signals readiness but the frontend has no space
    (can_read returns 0), the main loop will start busy-waiting, causing
    100% CPU load.
    
    It's trivial to reproduce: qemu-system-x86_64 -serial stdio -S, and then
    hit a key twice on that console.
    
    Jan
    
    
    
    [-- Attachment #2: OpenPGP digital signature --]
    [-- Type: application/pgp-signature, Size: 263 bytes --]
    
    ^ permalink raw reply	[flat|nested] 2+ messages in thread

  • end of thread, other threads:[~2013-03-24 18:02 UTC | newest]
    
    Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1361224096-21075-1-git-send-email-aliguori@us.ibm.com>
         [not found] ` <1361224096-21075-17-git-send-email-aliguori@us.ibm.com>
    2013-03-05 17:23   ` [Qemu-devel] [PATCH 16/19] qemu-char: move msmouse registeration to msmouse.c Amit Shah
    2013-03-24 18:02 ` [Qemu-devel] [PATCH 00/19] chardev flow control Jan Kiszka
    

    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).