qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v12 45/65] Revert "target/arm: Restrict v8M IDAU to TCG"


From: Richard Henderson
Subject: Re: [RFC v12 45/65] Revert "target/arm: Restrict v8M IDAU to TCG"
Date: Sun, 28 Mar 2021 11:40:58 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/26/21 1:36 PM, Claudio Fontana wrote:
This reverts commit 6e937ba7f8fb90d66cb3781f7fed32fb4239556a

This change breaks quickly at startup, as all interfaces in boards
are checked in vl.c in select_machine():
{
   GSList *machines = object_class_get_list(TYPE_MACHINE, false);
}

In order to restrict v8M IDAU to TCG,
we need to first disable all incompatible boards when building
only KVM.

Signed-off-by: Claudio Fontana<cfontana@suse.de>
Cc: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  target/arm/cpu.c                | 7 +++++++
  target/arm/tcg/tcg-cpu-models.c | 8 --------
  2 files changed, 7 insertions(+), 8 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

I have a notion this should be done earlier in the series (first?), before code moves from cpu_tcg.c to tcg/tcg-cpu-models.c.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]