On 06/18/2013 04:37 AM, Michael Tokarev wrote: > First of all, we need a global config switch/check for this kind of > service. On a POSIX system this should make the executable to be > linked with -rdynamic option, in order to make all symbols in the > executable to be available to plugins.
The only way you're going to be able to make this work with windows dlls (and, frankly, a better way to make this work in elf without -export-dynamic), is to make the "main" part of qemu itself a shared library, so that the modules can link against it. This reduces the qemu executable to, more or less, _start +/- main. r~