From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37038 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PccLL-000803-2Y for qemu-devel@nongnu.org; Tue, 11 Jan 2011 06:24:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PccLJ-0008A6-Lu for qemu-devel@nongnu.org; Tue, 11 Jan 2011 06:24:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PccLJ-00089q-Eu for qemu-devel@nongnu.org; Tue, 11 Jan 2011 06:24:49 -0500 From: Amit Shah Date: Tue, 11 Jan 2011 16:54:31 +0530 Message-Id: Subject: [Qemu-devel] [PATCH 0/3] virtio-serial: Flow control List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Amit Shah , Juan Quintela , Paul Brook , Gerd Hoffmann 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(-) -- 1.7.3.4