From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42977 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ptyum-0001Rd-Pz for qemu-devel@nongnu.org; Mon, 28 Feb 2011 03:57:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ptyul-0002Gn-RE for qemu-devel@nongnu.org; Mon, 28 Feb 2011 03:57:12 -0500 Received: from mail-gy0-f173.google.com ([209.85.160.173]:49327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ptyul-0002Gi-Lw for qemu-devel@nongnu.org; Mon, 28 Feb 2011 03:57:11 -0500 Received: by gyd8 with SMTP id 8so1778301gyd.4 for ; Mon, 28 Feb 2011 00:57:10 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4D6B6362.5070301@redhat.com> Date: Mon, 28 Feb 2011 09:57:06 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1298497114-7436-1-git-send-email-aliguori@us.ibm.com> <4D65945A.3090106@codemonkey.ws> <4D6680E3.8010802@redhat.com> <4D669476.2030601@codemonkey.ws> <4D6A3679.1010009@redhat.com> <4D6B1E1D.2050801@codemonkey.ws> <4D6B5AC2.8050004@redhat.com> In-Reply-To: <4D6B5AC2.8050004@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] Split machine creation from the main loop List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org, quintela@redhat.com 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. Paolo