qemu-cr16/hw
Philippe Mathieu-Daudé d5be19f514 cpu: Call object_class_dynamic_cast() once in cpu_class_by_name()
For all targets, the CPU class returned from CPUClass::class_by_name()
and object_class_dynamic_cast(oc, CPU_RESOLVING_TYPE) need to be
compatible. Lets apply the check in cpu_class_by_name() for once,
instead of having the check in CPUClass::class_by_name() for individual
target.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Gavin Shan <gshan@redhat.com>
Message-ID: <20231114235628.534334-4-gshan@redhat.com>
2024-01-05 16:20:14 +01:00
..
9pfs * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
acpi * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
adc hw/adc: Constify VMState 2023-12-29 11:17:30 +11:00
alpha
arm hw/arm: Constify VMState 2023-12-29 11:17:30 +11:00
audio hw/audio: Constify VMState 2023-12-29 11:17:30 +11:00
avr
block hw/block: Constify VMState 2023-12-29 11:17:30 +11:00
char hw/char: Constify VMState 2023-12-29 11:17:30 +11:00
core cpu: Call object_class_dynamic_cast() once in cpu_class_by_name() 2024-01-05 16:20:14 +01:00
cpu
cris
cxl meson: remove CONFIG_ALL 2023-12-31 09:11:28 +01:00
display * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
dma hw/dma: Constify VMState 2023-12-29 11:17:30 +11:00
gpio hw/gpio: Constify VMState 2023-12-29 11:17:30 +11:00
hppa
hyperv hw/hyperv: Constify VMState 2023-12-29 11:17:30 +11:00
i2c hw/i2c: Constify VMState 2023-12-29 11:17:30 +11:00
i386 * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
ide hw/ide: Constify VMState 2023-12-29 11:17:30 +11:00
input hw/input: Constify VMState 2023-12-29 11:17:30 +11:00
intc hw/intc: Constify VMState 2023-12-29 11:17:30 +11:00
ipack hw/ipack: Constify VMState 2023-12-29 11:17:30 +11:00
ipmi hw/ipmi: Constify VMState 2023-12-29 11:17:30 +11:00
isa hw/isa: Constify VMState 2023-12-29 11:17:30 +11:00
loongarch hw/loongarch: Constify VMState 2023-12-29 11:17:30 +11:00
m68k hw/m68k: Constify VMState 2023-12-30 07:38:05 +11:00
mem meson: remove CONFIG_ALL 2023-12-31 09:11:28 +01:00
microblaze
mips meson: rename config_all 2023-12-31 09:11:28 +01:00
misc hw/misc/macio: Constify VMState 2023-12-30 07:38:06 +11:00
net * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
nios2
nubus
nvme
nvram hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
openrisc hw/openrisc: Constify VMState 2023-12-30 07:38:06 +11:00
pci * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
pci-bridge * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
pci-host hw/pci-host: Constify VMState 2023-12-30 07:38:06 +11:00
pcmcia
ppc * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
rdma
remote meson: remove CONFIG_ALL 2023-12-31 09:11:28 +01:00
riscv hw/riscv: Constify VMState 2023-12-30 07:38:06 +11:00
rtc hw/rtc: Constify VMState 2023-12-30 07:38:06 +11:00
rx
s390x hw/s390x: Constify VMState 2023-12-30 07:38:06 +11:00
scsi * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
sd hw/sd: Constify VMState 2023-12-30 07:38:06 +11:00
sensor hw/sensor: Constify VMState 2023-12-30 07:38:06 +11:00
sh4
smbios meson: remove CONFIG_ALL 2023-12-31 09:11:28 +01:00
sparc hw/sparc: Constify VMState 2023-12-30 07:38:06 +11:00
sparc64
ssi hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
timer hw/timer: Constify VMState 2023-12-30 07:38:06 +11:00
tpm hw/tpm: Constify VMState 2023-12-30 07:38:06 +11:00
tricore
ufs
usb * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
vfio hw/vfio: Constify VMState 2023-12-30 07:38:06 +11:00
virtio * configure: use a native non-cross compiler for linux-user 2024-01-04 19:55:20 +00:00
watchdog hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11:00
xen
xenpv
xtensa
Kconfig
meson.build