From: Gerd Hoffmann <kraxel@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: "David Airlie" <airlied@redhat.com>,
qemu-devel <qemu-devel@nongnu.org>,
"Marc-André Lureau" <mlureau@redhat.com>
Subject: Re: [Qemu-devel] RFC: running the user interface in a thread ...
Date: Wed, 20 Jan 2016 09:45:29 +0100 [thread overview]
Message-ID: <1453279529.11804.38.camel@redhat.com> (raw)
In-Reply-To: <569F159D.4000501@redhat.com>
Hi,
> >> Related: Possibly we should move UIs to another *process* instead?
> >> At least the ones which use a UI toolkit (i.e. sdl, gtk, cocoa).
> >
> > Is the worth the effort ? The majority of mgmt apps use spice/vnc which
> > is already out of process.
When you are using libvirt you are not using sdl/gtk/cocoa, period.
It is quite inconvenient to setup. gtk isn't supported in the first
place (possible to make work with <qemu:args> trickery though). Google
finds nothing on the topic. I highly doubt this is in widespread use.
> > Will the people do use SDL/GTK/Coca backends,
> > be doing so in a scenario where moving the UI to a separate process is
> > a benefit to them ?
Using gtk/sdl is very convenient when using qemu directly. Running
"qemu -some-switches-to-test-stuff -cdrom /path/to/fedora-live.iso" and
have gtk ui come up is nice, so you don't have care about finding an
unused port and to startup a viewer process.
We hardly can take that away without having users scream.
We could try to go for better integration with viewers. Launching
remote-viewer with correct parameters would be a simple start (i.e.
something along the lines of -spice port=auto,viewer=yes). But that
wouldn't match neither gtk nor libvirt+virt-viewer feature-wise because
it wouldn't allow to control the machine (reset, shutdown, ...). So if
we want deprecate and later drop toolkit (gtk/sdl/cocoa) UIs in favor of
something like this we need to do better.
We could build some qemu viewer app using the spice gtk widget instead
of trying to move our existing gtk code into a separate process.
spice would need a portable shared memory transport then, otherwise such
a setup wouldn't be able to match gtk/sdl in performance.
cheers,
Gerd
next prev parent reply other threads:[~2016-01-20 8:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-18 9:54 [Qemu-devel] RFC: running the user interface in a thread Gerd Hoffmann
2016-01-18 20:34 ` Eric Blake
2016-01-19 13:01 ` Gerd Hoffmann
2016-01-19 13:38 ` Dr. David Alan Gilbert
2016-01-19 14:14 ` Gerd Hoffmann
2016-01-20 14:33 ` Kevin Wolf
2016-01-19 15:19 ` Markus Armbruster
2016-01-19 15:28 ` Daniel P. Berrange
2016-01-20 5:05 ` Eric Blake
2016-01-20 8:45 ` Gerd Hoffmann [this message]
2016-01-19 12:51 ` Kevin Wolf
2016-01-21 9:58 ` Stefan Hajnoczi
2016-01-21 10:39 ` Gerd Hoffmann
2016-01-21 10:52 ` Paolo Bonzini
2016-01-21 10:40 ` Daniel P. Berrange
2016-01-19 15:37 ` Daniel P. Berrange
2016-01-20 7:13 ` Gerd Hoffmann
2016-01-21 8:44 ` Dave Airlie
2016-01-21 9:05 ` Paolo Bonzini
2016-01-21 9:52 ` Gerd Hoffmann
2016-01-21 10:16 ` Paolo Bonzini
2016-01-22 1:38 ` Dave Airlie
2016-01-22 6:59 ` Gerd Hoffmann
2016-01-22 7:14 ` Dave Airlie
2016-01-21 9:00 ` Fam Zheng
2016-01-21 9:45 ` Gerd Hoffmann
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=1453279529.11804.38.camel@redhat.com \
--to=kraxel@redhat.com \
--cc=airlied@redhat.com \
--cc=eblake@redhat.com \
--cc=mlureau@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.