qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1772086] Re: malformed serial data being sent from gue


From: Patto
Subject: [Qemu-devel] [Bug 1772086] Re: malformed serial data being sent from guest
Date: Fri, 18 May 2018 21:27:18 -0000

After doing a bit of research I think line 142 in file chardev/char-
serial.c is problematic.
https://github.com/qemu/qemu/blob/master/chardev/char-serial.c#L142

It enables output processing, which is something unwanted here. With a
simple test program I found out that by default, besides OPOST, ONLCR
flag is set in c_oflag. I guess fix would be removing OPOST flag, which
would disable any output processing, or setting c_oflag to 0 just to be
sure.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1772086

Title:
  malformed serial data being sent from guest

Status in QEMU:
  New

Bug description:
  When sending data through serial from guest each time 0x0A byte is
  sent 0x0D is sent before it. For example, when sending {0x29, 0x0A} on
  the other end I receive {0x29, 0x0D, 0x0A}.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1772086/+subscriptions



reply via email to

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