[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 4add73: virtio: serial: expose a 'guest_writa
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 4add73: virtio: serial: expose a 'guest_writable' callback... |
Date: |
Thu, 19 Mar 2015 11:00:06 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 4add73aa601ab42b7a9863d483fa313b06105b34
https://github.com/qemu/qemu/commit/4add73aa601ab42b7a9863d483fa313b06105b34
Author: Amit Shah <address@hidden>
Date: 2015-03-19 (Thu, 19 Mar 2015)
Changed paths:
M hw/char/virtio-serial-bus.c
M include/hw/virtio/virtio-serial.h
Log Message:
-----------
virtio: serial: expose a 'guest_writable' callback for users
Users of virtio-serial may want to know when a port becomes writable. A
port can stop accepting writes if the guest port is open but not being
read from. In this case, data gets queued up in the virtqueue, and
after the vq is full, writes to the port do not succeed.
When the guest reads off a vq element, and adds a new one for the host
to put data in, we can tell users the port is available for more writes,
via the new ->guest_writable() callback.
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
Commit: 33a8d5b72d63fe44f08614408284fa934dee1edd
https://github.com/qemu/qemu/commit/33a8d5b72d63fe44f08614408284fa934dee1edd
Author: Peter Maydell <address@hidden>
Date: 2015-03-19 (Thu, 19 Mar 2015)
Changed paths:
M hw/char/virtio-serial-bus.c
M include/hw/virtio/virtio-serial.h
Log Message:
-----------
Merge remote-tracking branch 'remotes/amit/tags/vser-for-2.3-3' into staging
virtio-serial api: guest_writable callback for users
# gpg: Signature made Thu Mar 19 12:06:55 2015 GMT using RSA key ID 854083B6
# gpg: Good signature from "Amit Shah <address@hidden>"
# gpg: aka "Amit Shah <address@hidden>"
# gpg: aka "Amit Shah <address@hidden>"
* remotes/amit/tags/vser-for-2.3-3:
virtio: serial: expose a 'guest_writable' callback for users
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/7a9a5e72e8a6...33a8d5b72d63
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 4add73: virtio: serial: expose a 'guest_writable' callback...,
GitHub <=