qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I wanna fixes plugin on windows, any suggestion


From: Richard Henderson
Subject: Re: I wanna fixes plugin on windows, any suggestion
Date: Fri, 25 Sep 2020 13:50:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 9/25/20 12:25 PM, Paolo Bonzini 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.

Which is clearly silly.

So what you'd do is create a common .lib that all of the plugins link to, and
so do all of the qemu-foo.exe.

This would probably involve creating a set of call-backs that qemu-foo.exe
would need to pass to the common .lib at startup.  It's harder to do with
windows than linux, but it's not impossible.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]