From: Paolo Bonzini <pbonzini@redhat.com>
To: Greg Manning <gmanning@rapitasystems.com>, qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH v2 1/1] plugins: Move the windows linking function to qemu
Date: Thu, 9 Nov 2023 10:39:46 +0100 [thread overview]
Message-ID: <e31326a7-8cb0-4863-8bfa-e6f73d50f432@redhat.com> (raw)
In-Reply-To: <20231109092554.1253-2-gmanning@rapitasystems.com>
On 11/9/23 10:25, Greg Manning wrote:
> Previously, a plugin author needed an implementation of the
> __pfnDliFailureHook2 or __pfnDliNotifyHook2 hook in the plugin. Now all
> they need is a null exported pointer with the right name (as in
> win32_linker.c). If QEMU finds this, it will set it to the hook
> function, which has now moved into qemu (os-win32.c).
>
> Signed-off-by: Greg Manning <gmanning@rapitasystems.com>
> ---
Thanks for trying! :)
I'm not sure how big an improvement this is, but I'll let Alex judge.
The main issue I had with win32_linker.c is the additional complexity
for external plugins, which is now decreased but to some extent remains.
I should have made that clearer. One possibility is to put the
definition in a macro, and have the plugin sources simply expand the macro.
Paolo
next prev parent reply other threads:[~2023-11-09 9:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-09 9:25 [PATCH v2 0/1] plugins: Move the windows linking function to qemu Greg Manning
2023-11-09 9:25 ` [PATCH v2 1/1] " Greg Manning
2023-11-09 9:39 ` Paolo Bonzini [this message]
2023-11-10 17:36 ` Greg Manning
2023-11-10 21:47 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e31326a7-8cb0-4863-8bfa-e6f73d50f432@redhat.com \
--to=pbonzini@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=gmanning@rapitasystems.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).