qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Qemu development schedule?
Date: Fri, 03 Sep 2004 10:32:30 +0200	[thread overview]
Message-ID: <41382C1E.8090204@bellard.org> (raw)
In-Reply-To: <20040903000726.GA22689@jbrown.mylinuxbox.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
>>
> 
> 

  reply	other threads:[~2004-09-03  8:38 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 21:44 [Qemu-devel] Qemu development schedule? Jeebs
2004-08-30 21:59 ` John R. Hogerhuis
2004-08-30 22:51   ` Jeebs
2004-08-31 11:59     ` Johannes Schindelin
2004-08-31 15:58       ` Jeebs
2004-08-31 16:27         ` Joe Batt
2004-08-31 17:42           ` Jeebs
2004-09-01 19:25             ` Kai Cherry
2004-09-01 19:33               ` andrej
2004-09-01 19:46               ` Joe Batt
2004-09-01 20:34                 ` Mike Tremoulet
2004-09-01 20:46                   ` Kai Cherry
2004-09-01 20:35                 ` Kai Cherry
2004-09-02 20:46               ` Jim C. Brown
2004-09-03  7:52                 ` [Qemu-devel] Filegetopt (Was: Qemu development schedule?) Renzo Davoli
2004-08-31 16:32         ` [Qemu-devel] Qemu development schedule? Johannes Schindelin
2004-08-31 17:40           ` Jeebs
2004-09-01 15:43             ` Lionel Ulmer
2004-09-01 17:03             ` John R. Hogerhuis
2004-09-01 19:07               ` Kai Cherry
2004-09-02 10:20               ` Info
2004-08-31 17:42           ` John R. Hogerhuis
2004-08-31 19:07             ` andrej
2004-08-31 19:44               ` Kai Cherry
2004-08-30 22:07 ` Hetz Ben Hamo
2004-08-30 22:59   ` Jeebs
2004-08-30 23:34     ` John R. Hogerhuis
2004-08-31  9:21       ` Kai Cherry
2004-08-31 10:15         ` Patrick Mauritz
2004-08-31 10:23           ` Kai Cherry
2004-08-31 17:23         ` Gianni Tedesco
2004-08-31 19:08           ` Kai Cherry
2004-09-01 20:53             ` Magnus Damm
2004-08-31 20:27           ` Fabrice Bellard
2004-08-31 21:50             ` René Korthaus
2004-09-01 22:04               ` Jim C. Brown
2004-08-31 22:02             ` Patrick Mauritz
2004-09-01 21:58             ` Jim C. Brown
2004-09-02  7:26               ` Lionel Ulmer
2004-09-02 20:56                 ` Jim C. Brown
2004-09-02 23:28                   ` Lionel Ulmer
2004-09-03  0:07                     ` Jim C. Brown
2004-09-03  8:32                       ` Fabrice Bellard [this message]
2004-09-03  7:29                     ` Adrian Smarzewski
2004-09-03  8:28                     ` Fabrice Bellard
2004-09-02 23:53                   ` Daniel Serpell
2004-09-03  0:13                     ` Jim C. Brown
2004-09-03  1:35                       ` John R. Hogerhuis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41382C1E.8090204@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).