qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] cf7330: pty: Fix byte loss bug when connectin


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] cf7330: pty: Fix byte loss bug when connecting to pty
Date: Fri, 05 Sep 2014 08:30:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: cf7330c759345de2efe9c0df7921189ac5ff11d3
      
https://github.com/qemu/qemu/commit/cf7330c759345de2efe9c0df7921189ac5ff11d3
  Author: Sebastian Tanase <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  pty: Fix byte loss bug when connecting to pty

When trying to print data to the pty, we first check if it is connected.
If not, we try to reconnect, but we drop the pending data even if we
have successfully reconnected; this makes us lose the first byte of the very
first transmission.
This small fix addresses the issue by checking once more if the pty is connected
after having tried to reconnect.

Signed-off-by: Sebastian Tanase <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 20dbe6504936adc01e03ed3367b93da2aa1758c1
      
https://github.com/qemu/qemu/commit/20dbe6504936adc01e03ed3367b93da2aa1758c1
  Author: Peter Maydell <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-chardev-20140905-1' 
into staging

pty: Fix byte loss bug when connecting to pty

# gpg: Signature made Fri 05 Sep 2014 12:57:32 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-chardev-20140905-1:
  pty: Fix byte loss bug when connecting to pty

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/5fd7fc8db92a...20dbe6504936

reply via email to

[Prev in Thread] Current Thread [Next in Thread]