All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1381846] [NEW] Data sent to parallel port in guest is lost if host buffer fills up
@ 2014-10-16  2:49 Adam Goode
  2020-11-19 20:43 ` [Bug 1381846] " Thomas Huth
  2021-01-19  4:17 ` Launchpad Bug Tracker
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Goode @ 2014-10-16  2:49 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

It appears that qemu will blindly write characters out to the chardev
and drop them on the floor if a write fails with EAGAIN, without
initiating flow control (via BUSY and ACK) back to the guest. If the
host buffer is too small, or is talking to a hardware device that is too
slow, data will be lost.

I notice this problem when I run a DOS program with this on the qemu command line:
-parallel /dev/usb/lp0

I can work around this problem by buffering via a pipe, but this looks
like a general problem. Is there a way to wire up the readiness of the
output chardev to the parallel port ACK and BUSY lines, and signal an
ISA interrupt? I don't know the code well enough to tell.

** Affects: qemu
     Importance: Undecided
         Status: New

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

Title:
  Data sent to parallel port in guest is lost if host buffer fills up

Status in QEMU:
  New

Bug description:
  It appears that qemu will blindly write characters out to the chardev
  and drop them on the floor if a write fails with EAGAIN, without
  initiating flow control (via BUSY and ACK) back to the guest. If the
  host buffer is too small, or is talking to a hardware device that is
  too slow, data will be lost.

  I notice this problem when I run a DOS program with this on the qemu command line:
  -parallel /dev/usb/lp0

  I can work around this problem by buffering via a pipe, but this looks
  like a general problem. Is there a way to wire up the readiness of the
  output chardev to the parallel port ACK and BUSY lines, and signal an
  ISA interrupt? I don't know the code well enough to tell.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 1381846] Re: Data sent to parallel port in guest is lost if host buffer fills up
  2014-10-16  2:49 [Qemu-devel] [Bug 1381846] [NEW] Data sent to parallel port in guest is lost if host buffer fills up Adam Goode
@ 2020-11-19 20:43 ` Thomas Huth
  2021-01-19  4:17 ` Launchpad Bug Tracker
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2020-11-19 20:43 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

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

Title:
  Data sent to parallel port in guest is lost if host buffer fills up

Status in QEMU:
  Incomplete

Bug description:
  It appears that qemu will blindly write characters out to the chardev
  and drop them on the floor if a write fails with EAGAIN, without
  initiating flow control (via BUSY and ACK) back to the guest. If the
  host buffer is too small, or is talking to a hardware device that is
  too slow, data will be lost.

  I notice this problem when I run a DOS program with this on the qemu command line:
  -parallel /dev/usb/lp0

  I can work around this problem by buffering via a pipe, but this looks
  like a general problem. Is there a way to wire up the readiness of the
  output chardev to the parallel port ACK and BUSY lines, and signal an
  ISA interrupt? I don't know the code well enough to tell.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 1381846] Re: Data sent to parallel port in guest is lost if host buffer fills up
  2014-10-16  2:49 [Qemu-devel] [Bug 1381846] [NEW] Data sent to parallel port in guest is lost if host buffer fills up Adam Goode
  2020-11-19 20:43 ` [Bug 1381846] " Thomas Huth
@ 2021-01-19  4:17 ` Launchpad Bug Tracker
  1 sibling, 0 replies; 3+ messages in thread
From: Launchpad Bug Tracker @ 2021-01-19  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

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

Title:
  Data sent to parallel port in guest is lost if host buffer fills up

Status in QEMU:
  Expired

Bug description:
  It appears that qemu will blindly write characters out to the chardev
  and drop them on the floor if a write fails with EAGAIN, without
  initiating flow control (via BUSY and ACK) back to the guest. If the
  host buffer is too small, or is talking to a hardware device that is
  too slow, data will be lost.

  I notice this problem when I run a DOS program with this on the qemu command line:
  -parallel /dev/usb/lp0

  I can work around this problem by buffering via a pipe, but this looks
  like a general problem. Is there a way to wire up the readiness of the
  output chardev to the parallel port ACK and BUSY lines, and signal an
  ISA interrupt? I don't know the code well enough to tell.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-19  4:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-16  2:49 [Qemu-devel] [Bug 1381846] [NEW] Data sent to parallel port in guest is lost if host buffer fills up Adam Goode
2020-11-19 20:43 ` [Bug 1381846] " Thomas Huth
2021-01-19  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.