qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Status of SDL2 and GTK displays: can we make display modular?
Date: Mon, 22 Jun 2015 17:24:09 +0200	[thread overview]
Message-ID: <1434986649.3361.34.camel@redhat.com> (raw)
In-Reply-To: <5587F8EA.8030403@msgid.tls.msk.ru>

  Hi,

> With loadable display backend it will be the last bastion
> for many people who are asking for "minimal QEMU for
> servers" which is supposed to not have any X deps.

> I started working on loadable display backend a few
> years ago, but quickly discovered that SDL1 can't be
> loaded dynamically, at least on some platforms where
> it substitutes main() function in order to do some
> initialization (as if there's no support for constructors).
> 
> So now I'm asking again whenever current GTK and SDL2
> supports are complete enough to replace SDL1.

I don't miss any features in sdl2/gtk.

I think gtk should work reasonable well meanwhile as it is the default
and thus used alot.

Not so sure about sdl2.  sdl1 is still the default, so I don't think
there are that many users of it, which increases the chance that there
are unnoticed bugs and regressions lurking ...

Loadable display modules are worth looking into nevertheless.  We need
some kind of interface to register UIs, simliar to blockdevs and
devices.  But we have interesting constrains here:

 * You can have multiple UIs active at the same time (gtk+vnc).
 * That doesn't work for every combination though (no gtk+sdl).
 * There are deps to other stuff such as audio (sdl+spice) and
   display (spice/qxl).

So getting that modeled right isn't that easy and straightforward.

If you wanna have a look nevertheless you are welcome ...

cheers,
  Gerd

      parent reply	other threads:[~2015-06-22 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-22 12:00 [Qemu-devel] Status of SDL2 and GTK displays: can we make display modular? Michael Tokarev
2015-06-22 12:34 ` Paolo Bonzini
2015-06-22 15:24 ` Gerd Hoffmann [this message]

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=1434986649.3361.34.camel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=mjt@tls.msk.ru \
    --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).