Statistics
| Branch: | Revision:

root / util / module.c @ 01207d0b

History | View | Annotate | Download (4.9 kB)

# Date Author Comment
d844a7b6 02/28/2014 02:30 pm Fam Zheng

modules: Fix building with --enable-modules

Compiling util/modules.c with modules enabled fails now.

Fix it by including qemu-common.h before #ifdef testing in module.c.

Signed-off-by: Fam Zheng <>
Message-id: ...

aa0d1f44 02/25/2014 08:34 pm Paolo Bonzini

modules: do not include gmodule-2.0 in static builds

gmodule-2.0's pkg-config files include -Wl,--export-dynamic, which breaks
static builds. It is a glib bug, but we need to support --static builds for
the linux-user targets, and in the end all that is needed to fix this is:...

e26110cf 02/20/2014 02:14 pm Fam Zheng

module: implement module loading

This patch adds loading, stamp checking and initialization of modules.

The init function of dynamic module is no longer directly called as
attribute((constructor)) in static linked version, it is called
only after passed the checking of presense of stamp symbol:...

baacf047 01/12/2013 07:42 pm Paolo Bonzini

build: move libqemuutil.a components to util/

Signed-off-by: Paolo Bonzini <>