]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr_cpu_core.c
spapr: Abstract CPU core device and type specific core devices
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Fri, 10 Jun 2016 00:59:01 +0000 (06:29 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 17 Jun 2016 06:33:48 +0000 (16:33 +1000)
commit3b542549661eb216580e8b7683e13caa3950da45
tree2f4b49c558b2f3073ca49107e20d2edeb03ec308
parent3f97b53a682d2595747c926c00d78b9d406f1be0
spapr: Abstract CPU core device and type specific core devices

Add sPAPR specific abastract CPU core device that is based on generic
CPU core device. Use this as base type to create sPAPR CPU specific core
devices.

TODO:
- Add core types for other remaining CPU types
- Handle CPU model alias correctly

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/Makefile.objs
hw/ppc/spapr.c
hw/ppc/spapr_cpu_core.c [new file with mode: 0644]
include/hw/ppc/spapr.h
include/hw/ppc/spapr_cpu_core.h [new file with mode: 0644]
target-ppc/kvm.c