mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
3f97b53a68
commit
3b54254966
6 changed files with 220 additions and 2 deletions
|
@ -1623,8 +1623,7 @@ static void spapr_boot_set(void *opaque, const char *boot_device,
|
|||
machine->boot_order = g_strdup(boot_device);
|
||||
}
|
||||
|
||||
static void spapr_cpu_init(sPAPRMachineState *spapr, PowerPCCPU *cpu,
|
||||
Error **errp)
|
||||
void spapr_cpu_init(sPAPRMachineState *spapr, PowerPCCPU *cpu, Error **errp)
|
||||
{
|
||||
CPUPPCState *env = &cpu->env;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue