Re: [PATCH v2 2/4] plugins: make test/example plugins work on windows

2023-11-02 Thread Alex Bennée
Greg Manning writes: > Generate a qemu_plugin_api.lib delay import lib on windows, for > windows qemu plugins to link against. > > Implement an example dll load fail hook to link up the API functions > correctly when a plugin is loaded on windows. > > Update the build scripts for the test and exa

[PATCH v2 2/4] plugins: make test/example plugins work on windows

2023-11-02 Thread Greg Manning
Generate a qemu_plugin_api.lib delay import lib on windows, for windows qemu plugins to link against. Implement an example dll load fail hook to link up the API functions correctly when a plugin is loaded on windows. Update the build scripts for the test and example plugins to use these things.