pvg: do not enable it on cross-architecture targets
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Feb 2025 10:18:28 +0000 (11:18 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Feb 2025 15:18:11 +0000 (16:18 +0100)
commitae3a420fea8bfc545a4ca4b899d2fe6a3031aefa
tree6aed5f11814567dfffdcfb3c30d1df6a0f4698d9
parent6debfb2cb1795427d2dc6a741c7430a233c76695
pvg: do not enable it on cross-architecture targets

PVG is not cross-architecture; the PVG guest drivers with x86-64 macOS do not give
useful results with the aarch64 macOS host PVG framework, and vice versa.
To express this repurpose CONFIG_MAC_PVG, making it true only if the target has
the same architecture as the host.  Furthermore, remove apple-gfx.m unless
one of the devices is actually present.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Kconfig.host
hw/display/Kconfig
hw/display/meson.build
meson.build