qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] building user interfaces as modules


From: Fam Zheng
Subject: Re: [Qemu-devel] building user interfaces as modules
Date: Thu, 16 Nov 2017 08:08:53 +0800
User-agent: Mutt/1.9.1 (2017-09-22)

On Wed, 11/15 13:19, Gerd Hoffmann wrote:
>   Hi,
> 
> I'm trying to revamp the display initialization code:
> 
>   * First use a qapi type for the display options, so we can use
>     -blockdev style command line parsing for -display (not there yet,
>     but closer).
>   * Second initialize all user interfaces the same way and build a
>     registry for UIs.  Drops lots of #ifdefs from vl.c
>   * Finally this should make it *alot* easier to build user interfaces
>     as modules.
> 
> For SDL we already have sdl.mo defined in ui/Makefile.objs. so I tried
> that first.  Just flipping CONFIG_SDL from 'y' to 'm' doesn't work
> though.  sdl support isn't build, neither with nor without
> --enable-modules.

Perhaps you're missing a

    common-obj-m += ui/

line in Makefile?

Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]