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