Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMOlO-00082H-TG for qemu-devel@nongnu.org; Mon, 12 Jan 2009 10:31:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMOlN-00081u-EV for qemu-devel@nongnu.org; Mon, 12 Jan 2009 10:31:38 -0500 Received: from [199.232.76.173] (port=59282 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMOlN-00081r-4o for qemu-devel@nongnu.org; Mon, 12 Jan 2009 10:31:37 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:33469) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LMOlM-00065G-R1 for qemu-devel@nongnu.org; Mon, 12 Jan 2009 10:31:36 -0500 Received: from mariner.uk.xensource.com ([10.80.2.22]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id n0CFVXRV010817 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 12 Jan 2009 07:31:35 -0800 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1LMOlJ-0008Gf-Df for qemu-devel@nongnu.org; Mon, 12 Jan 2009 15:31:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18795.25173.415669.673305@mariner.uk.xensource.com> Date: Mon, 12 Jan 2009 15:31:33 +0000 Subject: Re: [Qemu-devel] Ongoing changes to the displaying code In-Reply-To: <60cad3f0901090926x1595e64cw1d646b91c40a1e42@mail.gmail.com> References: <4966ADD4.5090102@codesourcery.com> <4966BB7A.3090303@codemonkey.ws> <4966BEC4.7080903@codemonkey.ws> <60cad3f0901090128m23977527kf658c15ba90dbaf8@mail.gmail.com> <49676B43.2020406@codemonkey.ws> <18791.34404.878201.724561@mariner.uk.xensource.com> <60cad3f0901090926x1595e64cw1d646b91c40a1e42@mail.gmail.com> From: Ian Jackson Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org David Turner writes ("Re: [Qemu-devel] Ongoing changes to the displaying code"): > On Fri, Jan 9, 2009 at 6:16 PM, Ian Jackson wrote: > > I think it's fair enough for people to prefer SDL to VNC for a number > > of reasons. But why not just allow them to embed the qemu SDL window > > in their application ? This is definitely possible in X although I'm > > not sure exactly how to do it with SDL. > > to be fair, that might not be an ideal solution. QEMU emulation > currently requires frequent SIGALRM signals. this means the > application will not be able to use it for its own needs, and a > *lot* of system calls are going to randomly return EINTR, which a > *lot* of code doesn't handle properly (*cough* *cough* libesd.so) I meant to embed the qemu SDL X window, by having the non-qemu frontend create an appropriate frame and then pass the X windowid to qemu which would run as a subprocess. I agree that putting qemu and something else in the same process would be troublesome. (Tcl might be doable ...) Ian.