re: version matching, when I looked at this last week it seemed that qemu sets up a build stamp, which is then used to create its DSO stamp fun (cause this is so fun ;)
I wonder if the dso abi could be firmed up and made consistent, at least for major versions, so that the loader could be a bit more flexible about loading drivers from other builds.
re: version matching, when I looked at this last week it seemed that qemu sets up a build stamp, which is then used to create its DSO stamp fun (cause this is so fun ;)
I wonder if the dso abi could be firmed up and made consistent, at least for major versions, so that the loader could be a bit more flexible about loading drivers from other builds.
ddstreet@ thorin: ~/repos/ qemu/qemu$ git grep CONFIG_STAMP qemu/module. h:#define DSO_STAMP_FUN glue(qemu_stamp, CONFIG_STAMP) thorin: ~/repos/ qemu/qemu$ git grep DSO_STAMP_FUN qemu/module. h:#define DSO_STAMP_FUN glue(qemu_stamp, CONFIG_STAMP) qemu/module. h:#define DSO_STAMP_FUN_STR stringify( DSO_STAMP_ FUN) qemu/module. h:void DSO_STAMP_ FUN(void) ; common. c:void DSO_STAMP_FUN(void) symbol( g_module, DSO_STAMP_FUN_STR, (gpointer *)&sym)) {
configure: echo "CONFIG_STAMP=_$( (echo $qemu_version; echo $pkgversion; cat $0) | $shacmd - | cut -f1 -d\ )" >> $config_host_mak
include/
ddstreet@
include/
include/
include/
module-
util/module.c: if (!g_module_