|
From: | Anthony Liguori |
Subject: | [Qemu-devel] Re: [PATCH] Split machine creation from the main loop |
Date: | Mon, 28 Feb 2011 06:08:11 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Lightning/1.0b1 Thunderbird/3.0.10 |
On 02/28/2011 03:13 AM, Avi Kivity wrote:
On 02/28/2011 10:57 AM, Paolo Bonzini wrote:On 02/28/2011 09:20 AM, Avi Kivity wrote:We should have another abstraction for connection based backend. I'll take a go at this when I'm ready to try to get those patches in.Shouldn't each new connection return a chardev?You would need a kind of "factory" interface that knows how to create a new {monitor,serial port,you name it} for each new connection. Actually it doesn't make much sense except for monitors.Monitors and vnc.
VNC also does it's own buffering when reading and writing to a file descriptor. The chardev layer doesn't really have a concept of flow control.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |