Skip to content

virtio-serial: Flow control

Amit Shah qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio-serial: Let virtio-serial-bus know if all data was consumedhw/virtio-console.c hw/virtio-serial.h+6 -50 replies
2/3virtio-serial: Add support for flow controlhw/virtio-serial-bus.c hw/virtio-serial.h+56 -110 replies
3/3virtio-console: Enable port throttling when chardev is slow to consume datahw/virtio-console.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] virtio-serial: Flow control

Hello,

This patchset adds support for virtio-serial flow control. This is a rework of the method used earlier. The new method doesn't copy over the entire guest buffers to host, instead it uses the guest buffer and adds some state to the port struct.

save/restore support for the new state is to be done. That involves saving/restoring items from the VirtQueueElement struct, which needs a bit of work.

Amit Shah (3):
virtio-serial: Let virtio-serial-bus know if all data was consumed
virtio-serial: Add support for flow control
virtio-console: Enable port throttling when chardev is slow to
consume data

 hw/virtio-console.c    |   15 ++++++++++++-
 hw/virtio-serial-bus.c |   50 +++++++++++++++++++++++++++++++++++++----------
 hw/virtio-serial.h     |   24 ++++++++++++++++++++--
 3 files changed, 73 insertions(+), 16 deletions(-)
Signature · 1 line
1.7.3.4