From: Fam Zheng <famz@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org, Colin Lord <clord@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCH for 2.8 3/3] sdl: Modularize
Date: Tue, 2 Aug 2016 09:22:38 +0800 [thread overview]
Message-ID: <20160802012238.GC680@ad.usersys.redhat.com> (raw)
In-Reply-To: <1470052437.30562.39.camel@redhat.com>
On Mon, 08/01 13:53, Gerd Hoffmann wrote:
> On Mi, 2016-07-27 at 14:26 +0800, Fam Zheng wrote:
> > Signed-off-by: Fam Zheng <famz@redhat.com>
>
> more verbose commit message please, especially for those (like me) who
> have not worked yet with modules.
Yeah, my bad. Maybe I should have put RFC to the subject too.
>
> Will sdl be loaded unconditionally?
> Or only with -display sdl?
> What happens if the module is not present?
Only with -display sdl, and report error + exit if the module is not present.
>
> The main benefit I see in modularizing the ui is that we can move the ui
> modules (and the UI libs dependency chain) to a separate rpm subpackage,
> can we start that with this series applied?
Yes, that is the intention, but we need v2 to fix SDL audio and baum to achieve
that.
Colin also tested that not loading gui shared libraries (gtk?) speeds up
starting up.
>
> Can modules have dependencies on other modules? When it comes to
> modularizing spice we will need that as qxl has a spice dependency ...
Yes. spice's modules init function can call module_call_init(MODULE_INIT_QXL),
then check if QXL is available after that.
Fam
prev parent reply other threads:[~2016-08-02 1:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-27 6:26 [Qemu-devel] [PATCH for 2.8 0/3] Modularize SDL Fam Zheng
2016-07-27 6:26 ` [Qemu-devel] [PATCH for 2.8 1/3] rules.mak: Don't extract libs from .mo-libs in link command Fam Zheng
2016-08-01 10:24 ` Paolo Bonzini
2016-07-27 6:26 ` [Qemu-devel] [PATCH for 2.8 2/3] configure: Add CONFIG_SDL2 Fam Zheng
2016-07-27 6:26 ` [Qemu-devel] [PATCH for 2.8 3/3] sdl: Modularize Fam Zheng
2016-07-27 23:23 ` Colin Lord
2016-07-28 5:17 ` Fam Zheng
2016-07-28 7:43 ` Fam Zheng
2016-08-01 10:33 ` Paolo Bonzini
2016-08-01 10:31 ` Paolo Bonzini
2016-08-02 1:28 ` Fam Zheng
2016-08-01 10:39 ` Daniel P. Berrange
2016-08-01 11:53 ` Gerd Hoffmann
2016-08-02 1:22 ` Fam Zheng [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=20160802012238.GC680@ad.usersys.redhat.com \
--to=famz@redhat.com \
--cc=clord@redhat.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@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.