From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=32887 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pcabx-0001p3-MY for qemu-devel@nongnu.org; Tue, 11 Jan 2011 04:33:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pcabi-0002h5-C8 for qemu-devel@nongnu.org; Tue, 11 Jan 2011 04:33:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:13858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pcabi-0002h0-3u for qemu-devel@nongnu.org; Tue, 11 Jan 2011 04:33:38 -0500 From: Amit Shah Date: Tue, 11 Jan 2011 15:03:16 +0530 Message-Id: Subject: [Qemu-devel] [PATCH v3 0/4] virtio-serial: Trivial fixes, don't copy buffers to host List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Amit Shah , Paul Brook Hi, This patch series converts virtio-serial-bus to use the guest buffers instead of copying over guest data to the host, as suggested by Paul. In addition, there are some trivial fixes and code re-arrangement to the virtio-console and virtio-serial code for the upcoming flow control series. Please apply. v3: - Move discard logic to a separate function - Drop while-loop-rework patch as it's now no longer necessary with the new discard logic v2: - drop the erroring out patch till we decide what's to be done - remove goto usage. Amit Shah (4): virtio-console: Factor out common init between console and generic ports virtio-console: Remove unnecessary braces virtio-serial-bus: separate out discard logic in a separate function virtio-serial: Don't copy over guest buffer to host hw/virtio-console.c | 34 ++++++++++++++------------------ hw/virtio-serial-bus.c | 50 ++++++++++++++++++++++++++++++----------------- 2 files changed, 47 insertions(+), 37 deletions(-) -- 1.7.3.4