History | View | Annotate | Download (4.9 kB)
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 <famz@redhat.com>Message-id: 1393453893-12125-1-git-send-email-famz@redhat.com...
modules: do not include gmodule-2.0 in static builds
gmodule-2.0's pkg-config files include -Wl,--export-dynamic, which breaksstatic builds. It is a glib bug, but we need to support --static builds forthe linux-user targets, and in the end all that is needed to fix this is:...
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 asattribute((constructor)) in static linked version, it is calledonly after passed the checking of presense of stamp symbol:...
build: move libqemuutil.a components to util/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>