Andreas Färber 2985b86b5c target-ppc: Slim conversion of model definitions to QOM subclasses
Since the model list is highly macrofied, keep ppc_def_t for now and
save a pointer to it in PowerPCCPUClass. This results in a flat list of
subclasses including aliases, to be refined later.

Move cpu_ppc_init() to translate_init.c and drop helper.c.
Long-term the idea is to turn translate_init.c into a standalone cpu.c.

Inline cpu_ppc_usable() into type registration.

Split cpu_ppc_register() in two by code movement into the initfn and
by turning the remaining part into a realizefn.
Move qemu_init_vcpu() call into the new realizefn and adapt
create_ppc_opcodes() to return an Error.

Change ppc_find_by_pvr() -> ppc_cpu_class_by_pvr().
Change ppc_find_by_name() -> ppc_cpu_class_by_name().

Turn -cpu host into its own subclass. This requires to move the
kvm_enabled() check in ppc_cpu_class_by_name() to avoid the class being
found via the normal name lookup in the !kvm_enabled() case.
Turn kvmppc_host_cpu_def() into the class_init and add an initfn that
asserts KVM is in fact enabled.

Implement -cpu ? and the QMP equivalent in terms of subclasses.
This newly exposes -cpu host to the user, ordered last for -cpu ?.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-01-07 17:37:11 +01:00
2012-12-17 14:01:41 +01:00
2012-12-19 08:29:06 +01:00
2013-01-07 17:37:11 +01:00
2012-12-22 12:06:48 +00:00
2012-10-24 10:26:22 +02:00
2013-01-02 11:23:21 -06:00
2013-01-06 08:15:08 +00:00
2012-09-07 09:02:44 +03:00
2012-11-01 13:10:06 +01:00
2012-05-14 07:27:24 +02:00
2013-01-06 08:15:08 +00:00
2008-10-12 17:54:42 +00:00
2012-12-20 23:08:47 +01:00
2013-01-02 15:58:09 +01:00
2011-12-09 11:25:22 +00:00
2013-01-06 08:15:08 +00:00
2012-12-20 23:09:25 +01:00
2011-02-09 10:33:54 +02:00
2013-01-03 12:53:41 -06:00
2011-12-11 17:50:43 -06:00
2013-01-02 13:32:48 -06:00
2010-03-14 22:04:50 +01:00
2008-12-04 11:29:42 +00:00
2012-12-03 14:08:40 -06:00
2012-12-22 12:04:44 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 418 MiB
Languages
Rust 68.8%
C 26.3%
C++ 3%
Python 0.9%
Shell 0.5%
Other 0.3%