From: Paolo Bonzini <pbonzini@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
qemu-devel@nongnu.org, "Phil Dennis-Jordan" <phil@philjordan.eu>
Subject: Re: [PATCH] meson: Display summary of Darwin libraries detected
Date: Mon, 17 Feb 2025 19:37:21 +0100 [thread overview]
Message-ID: <c33817a1-74d4-47b0-93d3-000cfd6200be@redhat.com> (raw)
In-Reply-To: <20250212112958.38023-1-philmd@linaro.org>
On 2/12/25 12:29, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> meson.build | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/meson.build b/meson.build
> index 18cf9e2913b..10f4c9fd30d 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -4826,6 +4826,13 @@ summary_info += {'libdw': libdw}
> if host_os == 'freebsd'
> summary_info += {'libinotify-kqueue': inotify}
> endif
> +if host_os == 'darwin'
> + summary_info += {'Hypervisor support': hvf}
> + summary_info += {'CoreFoundation support': coref}
> + summary_info += {'IOKit support': iokit}
> + summary_info += {'ParavirtualizedGraphics support': pvg}
> + summary_info += {'Metal support': metal}
> +endif
I think all of these are going to be present anyway, because they're
mandatory (except IOKit which _is_ going to be there, and HVF which is
present elsewhere) and there's no version indication for Apple frameworks.
However, adding pvg and metal here makes sense if:
- "config PVG" is added to Kconfig.host with the corresponding
assignment to host_kconfig
- "depends on PVG" is added to "config MAC_PVG"
- after which, host_os = "darwin" is not needed anymore in
hw/display/meson.build
Also, it's not clear to me if PVG can also work with TCG, and therefore
the MMIO version can be used on x86 Macs? If so the 'if cpu =
"aarch64"' in hw/display/meson.build seems wrong.
Either way, the Kconfig file does not need "depends on AARCH64" and it
should have just
depends on MAC_PVG
with an "imply" somewhere in hw/arm/Kconfig.
Paolo
next prev parent reply other threads:[~2025-02-17 18:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-12 11:29 [PATCH] meson: Display summary of Darwin libraries detected Philippe Mathieu-Daudé
2025-02-17 14:02 ` Daniel P. Berrangé
2025-02-17 18:37 ` Paolo Bonzini [this message]
2025-02-18 14:55 ` Phil Dennis-Jordan
2025-02-19 10:28 ` Paolo Bonzini
2025-02-19 10:36 ` Phil Dennis-Jordan
2025-02-19 10:38 ` Paolo Bonzini
2025-02-19 13:41 ` Philippe Mathieu-Daudé
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=c33817a1-74d4-47b0-93d3-000cfd6200be@redhat.com \
--to=pbonzini@redhat.com \
--cc=phil@philjordan.eu \
--cc=philmd@linaro.org \
--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).