|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 5/8] virtio-serial-bus: Add support for buffering guest output, throttling guests |
Date: | Wed, 13 Jan 2010 12:31:06 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 01/13/2010 11:14 AM, Markus Armbruster wrote:
Anthony Liguori<address@hidden> writes:On 01/12/2010 01:16 AM, Amit Shah wrote:BTW I don't really want this too, I can get rid of it if everyone agrees we won't support clipboard writes> 4k over vnc or if there's a better idea.Why bother trying to preserve message boundaries? I think that's the fundamental question.Yes. Either it's a datagram or a stream pipe. I always thought it would be a stream pipe, as the name "serial" suggests.
And if it's a datagram, then we should accept that there will be a fixed max message size which is pretty common in all datagram protocols. That fixed size should be no larger than what the transport supports so in this case, it would be 4k.
If a guest wants to send larger messages, it must build a continuation protocol on top of the datagram protocol.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |