diff options
| author | Andreas Färber | 2013-01-21 17:50:15 +0100 |
|---|---|---|
| committer | Andreas Färber | 2013-01-27 14:52:05 +0100 |
| commit | bc5b2da32ba54d991e8669b14a771afb3a67f408 (patch) | |
| tree | 9e9d37acb0bf8fca8aeebe5722226cc16087d1d6 /target-openrisc | |
| parent | target-alpha: Detect attempt to instantiate non-CPU type in cpu_init() (diff) | |
| download | qemu-bc5b2da32ba54d991e8669b14a771afb3a67f408.tar.gz qemu-bc5b2da32ba54d991e8669b14a771afb3a67f408.tar.xz qemu-bc5b2da32ba54d991e8669b14a771afb3a67f408.zip | |
target-m68k: Detect attempt to instantiate non-CPU type in cpu_init()
Consolidate model checking into a new m68k_cpu_class_by_name().
If the name matches an existing type, also check whether that type is
(a sub-type of) TYPE_M68K_CPU.
This fixes, e.g., -cpu ide-hd asserting.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-openrisc')
0 files changed, 0 insertions, 0 deletions
