cpu: Abstract CPU core type
commitf1020c2c2647a62df870ce243424ee23ea95ae6f
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Thu, 12 May 2016 03:48:16 +0000 (12 09:18 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 17 Jun 2016 06:33:48 +0000 (17 16:33 +1000)
treee683477464517ee2c5bcb18e6548483ce439bfef
parent41346263c4039fd2edca61c031c9396577693036
cpu: Abstract CPU core type

Add an abstract CPU core type that could be used by machines that want
to define and hotplug CPUs in core granularity.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
               [Integer core property]
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
[dwg: changed property names to 'core-id' and 'nr-threads']
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/cpu/Makefile.objs
hw/cpu/core.c [new file with mode: 0644]
include/hw/cpu/core.h [new file with mode: 0644]