qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1381846] [NEW] Data sent to parallel port in guest is


From: Adam Goode
Subject: [Qemu-devel] [Bug 1381846] [NEW] Data sent to parallel port in guest is lost if host buffer fills up
Date: Thu, 16 Oct 2014 02:49:56 -0000

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



reply via email to

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