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
configure:  echo "CONFIG_STAMP=_$( (echo $qemu_version; echo $pkgversion; cat 
$0) | $shacmd - | cut -f1 -d\ )" >> $config_host_mak
include/qemu/module.h:#define DSO_STAMP_FUN         glue(qemu_stamp, 
CONFIG_STAMP)
ddstreet@thorin:~/repos/qemu/qemu$ git grep DSO_STAMP_FUN
include/qemu/module.h:#define DSO_STAMP_FUN         glue(qemu_stamp, 
CONFIG_STAMP)
include/qemu/module.h:#define DSO_STAMP_FUN_STR     stringify(DSO_STAMP_FUN)
include/qemu/module.h:void DSO_STAMP_FUN(void);
module-common.c:void DSO_STAMP_FUN(void)
util/module.c:    if (!g_module_symbol(g_module, DSO_STAMP_FUN_STR, (gpointer 
*)&sym)) {

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847361

Title:
  Upgrade of qemu binaries causes running instances not able to
  dynamically load modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1847361/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to