[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/12][RFC] char: add flow control and fix guest
From: |
Alon Levy |
Subject: |
Re: [Qemu-devel] [PATCH 00/12][RFC] char: add flow control and fix guest_[open|close] |
Date: |
Mon, 1 Aug 2011 19:04:10 +0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Aug 01, 2011 at 09:22:58AM -0500, Anthony Liguori wrote:
> The char layer has been growing some nasty warts for some time now as we ask
> it
> to do things it was never intended on doing. It's been long over due for an
> overhaul and its become evident to me that we need to address this first
> before
> adding any more features to the char layer.
>
> This series is the start at sanitizing the char layer. It effectively turns
> the char layer into an internal pipe. It supports flow control using an
> intermediate ring queue for each direction.
>
> This series is an RFC because I don't think we should merge the series until
> we
> completely convert the old style flow control users to the new style.
>
> One particularly nasty area is the mux device. I'm not entirely sure yet how
> to preceed there.
>
>
So, adding a copy - is that really a good idea? I don't have any alternative
code,
so I'm already starting bad, I know, and I understand the want to have a "middle
ground" to ease the logic. Maybe keeping an iovec? add a function on each side
for
freeing, i.e. release_be_buffer, release_fe_buffer. At least it could make this
as
fast as the current code. I'm thinking of copy/paste for vdagent, usbredir,
guest
agent doing dmesg or anything larger.
- [Qemu-devel] [PATCH 09/12] char: rename qemu_chr_guest_open() -> qemu_chr_fe_open(), (continued)
- [Qemu-devel] [PATCH 09/12] char: rename qemu_chr_guest_open() -> qemu_chr_fe_open(), Anthony Liguori, 2011/08/01
- [Qemu-devel] [PATCH 11/12] char: make all devices do qemu_chr_fe_open(), Anthony Liguori, 2011/08/01
- [Qemu-devel] [PATCH 08/12] char: make monitor use new style interface, Anthony Liguori, 2011/08/01
- [Qemu-devel] [PATCH 10/12] char: rename qemu_chr_guest_close() -> qemu_chr_fe_close(), Anthony Liguori, 2011/08/01
- [Qemu-devel] [PATCH 12/12] char: enforce the use of qemu_chr_guest_open(), Anthony Liguori, 2011/08/01
- [Qemu-devel] [PATCH 04/12] char: introduce backend tx queue, Anthony Liguori, 2011/08/01
- Re: [Qemu-devel] [PATCH 00/12][RFC] char: add flow control and fix guest_[open|close],
Alon Levy <=
- Re: [Qemu-devel] [PATCH 00/12][RFC] char: add flow control and fix guest_[open|close], Hans de Goede, 2011/08/01
- Re: [Qemu-devel] [PATCH 00/12][RFC] char: add flow control and fix guest_[open|close], Blue Swirl, 2011/08/01
- Re: [Qemu-devel] [PATCH 00/12][RFC] char: add flow control and fix guest_[open|close], Amit Shah, 2011/08/04