summary refs log tree commit diff stats
path: root/hw/lm32_uart.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-02-23 11:22:12 +0000
committerAlexander Graf <agraf@suse.de>2013-03-08 21:04:53 +0100
commit5ba4576b858c0d6056f59abb7e17a2b63f7905f3 (patch)
tree1aa6b8ae3180f0caf46576f5d304b57e530fedf7 /hw/lm32_uart.c
parent987422bc4a4c6366ca6a7fbfa38a9920fd7ada2f (diff)
downloadfocaccia-qemu-5ba4576b858c0d6056f59abb7e17a2b63f7905f3.tar.gz
focaccia-qemu-5ba4576b858c0d6056f59abb7e17a2b63f7905f3.zip
target-ppc: Make host CPU a subclass of the host's CPU model
This avoids assigning individual class fields and contributors
forgetting to add field assignments in KVM-only code.

ppc_cpu_class_find_by_pvr() requires the CPU model classes to be
registered, so defer host CPU type registration to kvm_arch_init().

Only register the host CPU type if there is a class with matching PVR.
This lets us drop error handling from instance_init.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/lm32_uart.c')
0 files changed, 0 insertions, 0 deletions