On 6/30/25 6:09 AM, Philippe Mathieu-Daudé wrote:
Only allow disabling NEON when using TCG.

This avoids confusing user experience:

   $ qemu-system-aarch64 -M virt -accel hvf \
                         -cpu host,neon=off,vfp=off,vfp-d32=off
   qemu-system-aarch64: AArch64 CPUs must have both VFP and Neon or neither

   $ qemu-system-aarch64 -M virt -accel hvf \
                         -cpu host,neon=off,vfp=off,vfp-d32=off
   qemu-system-aarch64: ARM CPUs must have both VFP-D32 and Neon or neither

   $ qemu-system-aarch64 -M virt -accel hvf \
                         -cpu host,neon=off,vfp=off,vfp-d32=off
   qemu-system-aarch64: can't apply global host-arm-cpu.vfp-d32=off: Property 
'host-arm-cpu.vfp-d32' not found

Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  target/arm/cpu.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to