qemu-e2k/include/qemu
Fam Zheng e26110cfc6 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:

    qemu_stamp_$RELEASEHASH

where $RELEASEHASH is generated by hashing version strings and content
of configure script.

With this, modules built from a different tree/version/configure will
not be loaded.

The module loading code requires gmodule-2.0.

Modules are searched under
 - CONFIG_MODDIR
 - executable folder (to allow running qemu-{img,io} in the build
   directory)
 - ../ of executable folder (to allow running system emulator in the
   build directory)

Modules are linked under their subdir respectively, then copied to top
level of build directory for above convinience, e.g.:
    $(BUILD_DIR)/block/curl.so -> $(BUILD_DIR)/block-curl.so

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-02-20 13:14:18 +01:00
..
acl.h
aes.h
atomic.h atomic.h: Fix build with clang 2013-11-21 08:01:06 -08:00
bitmap.h bitmap: Add bitmap_zero_extend operation 2014-01-13 14:04:54 +01:00
bitops.h bitmap: use long as index 2014-01-13 14:04:53 +01:00
bswap.h bswap.h: Remove cpu_to_32wu() 2013-11-05 19:57:47 -08:00
cache-utils.h util: Use qemu_getauxval in linux qemu_cache_utils_init 2013-11-30 07:45:30 +13:00
compatfd.h
compiler.h
config-file.h qemu-option: Add qemu_config_parse_qdict() 2014-01-22 12:07:17 +01:00
crc32c.h
envlist.h
error-report.h add timestamp to error_report() 2013-07-10 13:42:09 -04:00
event_notifier.h
fifo8.h util/fifo8: implement push/pop of multiple bytes 2014-02-08 14:50:48 +00:00
hbitmap.h
host-utils.h host-utils: add clrsb32/64 - count leading redundant sign bits 2013-12-17 20:12:51 +00:00
int128.h
iov.h
log.h log: Change log_cpu_state[_mask]() argument to CPUState 2013-07-09 21:33:04 +02:00
main-loop.h
module.h module: implement module loading 2014-02-20 13:14:18 +01:00
notify.h
option_int.h
option.h qemu-option: Remove qemu_opts_create_nofail 2014-01-06 15:02:30 -05:00
osdep.h util: Split out exec_dir from os_find_datadir 2014-02-20 13:12:54 +01:00
queue.h
range.h range: add min/max operations on ranges 2013-09-15 11:49:50 +03:00
ratelimit.h aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
readline.h readline: Add missing GCC_FMT_ATTR 2014-02-01 13:46:06 +04:00
seqlock.h seqlock: introduce read-write seqlock 2013-10-17 17:24:15 +02:00
sockets.h util: add socket_set_fast_reuse function which will replace setting SO_REUSEADDR 2013-10-02 19:20:31 +02:00
thread-posix.h qemu-thread: add QemuEvent 2013-10-17 17:30:55 +02:00
thread-win32.h qemu-thread: add QemuEvent 2013-10-17 17:30:55 +02:00
thread.h qemu-thread: add QemuEvent 2013-10-17 17:30:55 +02:00
throttle.h throttle: Add a new throttling API implementing continuous leaky bucket. 2013-09-06 15:25:07 +02:00
timer.h Fix typo of tiemr in timer.h 2014-01-15 23:34:17 +04:00
tls.h
typedefs.h memory: Add MemoryListener to typedefs.h 2014-02-11 22:56:31 +10:00
uri.h
xattr.h