diff options
author | Andreas Färber <afaerber@suse.de> | 2013-01-23 12:07:17 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-01-27 23:33:25 +0100 |
commit | d89e12188d50f7f8a894027789f32fa7ba6226ad (patch) | |
tree | e10fc11fa7f82fc4c85dfba0ef4426f292df5542 /qom | |
parent | bd039ce0094f3724a87a193c846ee8468ce652b0 (diff) | |
download | qemu-d89e12188d50f7f8a894027789f32fa7ba6226ad.tar.gz qemu-d89e12188d50f7f8a894027789f32fa7ba6226ad.tar.bz2 qemu-d89e12188d50f7f8a894027789f32fa7ba6226ad.zip |
target-unicore32: Detect attempt to instantiate non-CPU type in cpu_init()
Consolidate model checking into a new uc32_cpu_class_by_name().
If the name matches an existing type, also check whether that type is
actually (a sub-type of) TYPE_UNICORE32_CPU.
This fixes, e.g., -cpu puv3_dma asserting.
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions