On Sat, Sep 26, 2020 at 3:25 AM Paolo Bonzini <
pbonzini@redhat.com> wrote:
>
> On 25/09/20 21:23, 罗勇刚(Yonggang Luo) wrote:
> > That's what I am tring to fixes? what does one import library per
> > emulator, can we do this like NodeJS does?
> > NodeJS have NAPI support across platform. They create a windows .lib from
> > node.exe
>
> You'd have to create a .lib for qemu-system-aarch64.exe, one for
> qemu-system-arm.exe, etc. On Linux the same plugin will work for all
> emulators.
>
OK, this made the things clear, the possible solution is to using function pointer to expose
all Plugin-API functions
> Paolo
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo