diff options
author | Andreas Färber <afaerber@suse.de> | 2013-02-17 23:16:44 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-03-08 21:04:51 +0100 |
commit | 4d7fb187e07b35dcbe51e906927a94ed691e0c7a (patch) | |
tree | c836c9711f58dd984f705e4f79c1a1f0d9f7dac2 /hw/imx_serial.c | |
parent | 53116ebfc98b72a00297255e216fac87c65e23a5 (diff) | |
download | qemu-4d7fb187e07b35dcbe51e906927a94ed691e0c7a.zip qemu-4d7fb187e07b35dcbe51e906927a94ed691e0c7a.tar.gz qemu-4d7fb187e07b35dcbe51e906927a94ed691e0c7a.tar.bz2 |
target-ppc: Register all types for TARGET_PPCEMB
Don't attempt to suppress registration of CPU types, since the criteria
is actually a property of the class and should thus become a field.
Since we can't check a field set in a class_init function before
registering the type that leads to execution of that function, guard the
-cpu class lookup instead and suppress exposing these classes in -cpu ?
and in QMP.
In case someone tries to hot-add an incompatible CPU via device_add,
error out in realize.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/imx_serial.c')
0 files changed, 0 insertions, 0 deletions