summaryrefslogtreecommitdiff
path: root/target-unicore32
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-23 11:17:14 +0100
committerAndreas Färber <afaerber@suse.de>2013-01-27 14:52:05 +0100
commitbd039ce0094f3724a87a193c846ee8468ce652b0 (patch)
tree4ab008106e68fb70734fedd2a0e5a7961be63c1d /target-unicore32
parentbc5b2da32ba54d991e8669b14a771afb3a67f408 (diff)
downloadqemu-bd039ce0094f3724a87a193c846ee8468ce652b0.tar.gz
target-openrisc: Detect attempt to instantiate non-CPU type in cpu_init()
Consolidate model checking into a new openrisc_cpu_class_by_name(). If the name matches an existing type, also check whether that type is actually (a sub-type of) TYPE_OPENRISC_CPU. This fixes, e.g., -cpu open_eth asserting. Cc: qemu-stable@nongnu.org Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-unicore32')
0 files changed, 0 insertions, 0 deletions