On 4/3/25 08:18, Philippe Mathieu-Daudé wrote:
> Unfortunately as of v10.0.0-rc2 the VMapple machine is unusable:
>
> $ qemu-system-aarch64 -M vmapple [...]
> *** Terminating app due to uncaught exception 'NSInvalidArgumentException',
> reason: '-[PGIOSurfaceHostDeviceDescriptor setMapMemory:]: unrecognized selector sent to instance 0x600001ede820'
> *** First throw call stack:
> (
> 0 CoreFoundation 0x000000019c759df0 __exceptionPreprocess + 176
> 1 libobjc.A.dylib 0x000000019c21eb60 objc_exception_throw + 88
> 2 CoreFoundation 0x000000019c816ce0 -[NSObject(NSObject) __retain_OA] + 0
> 3 CoreFoundation 0x000000019c6c7efc ___forwarding___ + 1500
> 4 CoreFoundation 0x000000019c6c7860 _CF_forwarding_prep_0 + 96
> 5 qemu-system-aarch64 0x000000010486dbd0 apple_gfx_mmio_realize + 200
> 6 qemu-system-aarch64 0x0000000104e6ab5c device_set_realized + 352
> 7 qemu-system-aarch64 0x0000000104e7250c property_set_bool + 100
> 8 qemu-system-aarch64 0x0000000104e7023c object_property_set + 136
> 9 qemu-system-aarch64 0x0000000104e74870 object_property_set_qobject + 60
> 10 qemu-system-aarch64 0x0000000104e70748 object_property_set_bool + 60
> 11 qemu-system-aarch64 0x0000000104e69bd8 qdev_realize_and_unref + 20
> 12 qemu-system-aarch64 0x0000000104e258e0 mach_vmapple_init + 1728
> 13 qemu-system-aarch64 0x000000010481b0ac machine_run_board_init + 1892
> 14 qemu-system-aarch64 0x0000000104a4def8 qmp_x_exit_preconfig + 260
> 15 qemu-system-aarch64 0x0000000104a51ba8 qemu_init + 14460
> 16 qemu-system-aarch64 0x0000000104f7cef8 main + 36
> 17 dyld 0x000000019c25eb4c start + 6000
> )
> libc++abi: terminating due to uncaught exception of type NSException
> Abort trap: 6
>
> Disable the machine so it isn't built by default.
>
> This is tracked as https://gitlab.com/qemu-project/qemu/-/issues/2913
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> configs/devices/aarch64-softmmu/default.mak | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
>
> diff --git a/configs/devices/aarch64-softmmu/default.mak b/configs/devices/aarch64-softmmu/default.mak
> index 93f4022ad62..ad8028cfd48 100644
> --- a/configs/devices/aarch64-softmmu/default.mak
> +++ b/configs/devices/aarch64-softmmu/default.mak
> @@ -9,3 +9,4 @@ include ../arm-softmmu/default.mak
> # CONFIG_XLNX_VERSAL=n
> # CONFIG_SBSA_REF=n
> # CONFIG_NPCM8XX=n
> +CONFIG_VMAPPLE=n