From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C39aD-0004MA-8j for qemu-devel@nongnu.org; Fri, 03 Sep 2004 04:38:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C39aC-0004Lt-LV for qemu-devel@nongnu.org; Fri, 03 Sep 2004 04:38:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C39aC-0004Lq-Di for qemu-devel@nongnu.org; Fri, 03 Sep 2004 04:38:08 -0400 Received: from [129.104.30.34] (helo=a.mx.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C39Uo-000278-Qf for qemu-devel@nongnu.org; Fri, 03 Sep 2004 04:32:35 -0400 Received: from localhost (localhost [127.0.0.1]) by djali.m4x.org (Postfix) with ESMTP id 234D233214 for ; Fri, 3 Sep 2004 10:32:34 +0200 (CEST) Received: from djali.m4x.org ([127.0.0.1]) by localhost (djali [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 20956-06 for ; Fri, 3 Sep 2004 10:32:34 +0200 (CEST) Received: from [172.17.17.9] (gw.netgem.com [195.68.2.34]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id B64AD33212 for ; Fri, 3 Sep 2004 10:32:32 +0200 (CEST) Message-ID: <41382C1E.8090204@bellard.org> Date: Fri, 03 Sep 2004 10:32:30 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] Qemu development schedule? References: <200408310107.07350.hetz@witch.dyndns.org> <002101c48ee5$46b2e280$20389c3f@computername> <1093908872.26682.76.camel@aragorn> <1C8FBBB0-FB2F-11D8-8B6F-000A95D874F4@mac.com> <1093973009.29476.16.camel@sherbert> <4134DF1A.4010407@bellard.org> <20040901215857.GA21314@jbrown.mylinuxbox.org> <20040902092645.A15294@bbland> <20040902205633.GB21292@jbrown.mylinuxbox.org> <20040903012835.A21319@bbland> <20040903000726.GA22689@jbrown.mylinuxbox.org> In-Reply-To: <20040903000726.GA22689@jbrown.mylinuxbox.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Having a GUI goes further than just having the display and keyboard API (as you implied, such an API already exists in QEMU and it is fairly easy to add a new display/keyboard driver). The real problem is to handle all the configuration stuff with a simple API and even to manage several VMs at once. If a minimal GTK, win32 or Mac OS X GUI is submitted, then I'll improve the API. Fabrice. Jim C. Brown wrote: > On Fri, Sep 03, 2004 at 01:28:35AM +0200, Lionel Ulmer wrote: > >>>So? Fabrice has said that he'll add support got the Win32 GUI directly if some >>>one sends a patch for it ... surely this makes it hard to port to the Linux >>>platform??? >> >>My only problem with that is that I do not wish to see the QEMU code go down >>the #ifdef / #endif hell (with #ifdef X11 / COCOA / WIN32 / .... sprinkled >>anywhere over the code). >> >>So such patches are great .... if they are based on a framework that make >>adding new display / input / sound drivers painless (i.e. without touching a >>single line of code in QEMU's main code). >> > > > The ironic thing is that the original X11 driver did this seamlessly. > You just removed the original sdl.c and renamed the X11 file to sdl.c and > recompiled. Not as good as an actual framework tho. > > I guess we could split the sdl.c file into grap.c and sdl-driver.c, where > grap.c provides all the functions that qemu calls (such as sdl_update_caption > or toggle_full_screen), and grap.c simply calls a function in sdl-driver.c > ... then to add X11 support, one simply has to send a patch to add the > appropriate #ifdefs to grap.c and write an x11-driver.c > > >> Lionel >> >>-- >> Lionel Ulmer - http://www.bbrox.org/ >> >> >>_______________________________________________ >>Qemu-devel mailing list >>Qemu-devel@nongnu.org >>http://lists.nongnu.org/mailman/listinfo/qemu-devel >> > >