summaryrefslogtreecommitdiff
path: root/hw/ide/piix.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-04-27 18:04:11 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2010-04-28 08:58:22 -0500
commit9ed7b059ef776a3921cfd085e891f45076922542 (patch)
tree422546b0e15528f3ee5f937c73c3b1818611c9d9 /hw/ide/piix.c
parenta69c76008597ccdffae7a933686ab856ca85e87c (diff)
downloadqemu-9ed7b059ef776a3921cfd085e891f45076922542.tar.gz
virtio-serial: Implement flow control for individual ports
Individual ports can now signal to the virtio-serial core to stop sending data if the ports cannot immediately handle new data. When a port later unthrottles, any data queued up in the virtqueue are sent to the port. Disable throttling once a port is closed (and we discard all the unconsumed buffers in the vq). The guest kernel can reclaim the buffers when it receives the port close event or when a port is being removed. Ensure we free up the buffers before we send out any events to the guest. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/piix.c')
0 files changed, 0 insertions, 0 deletions