]> git.proxmox.com Git - mirror_qemu.git/commit
hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate function
authorThomas Huth <thuth@redhat.com>
Wed, 28 Sep 2016 11:16:28 +0000 (13:16 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 5 Oct 2016 00:05:28 +0000 (11:05 +1100)
commit230bf719d3a3b144a4ffa441e5d6170ef0ad8999
tree321964838b8b2c5489bdc37d513493043de28a7d
parentdb800b21d82a63eb88b06da9d1fb3d8a8e046aca
hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate function

The function spapr_populate_cpu_dt() has become quite big
already, and since we likely have to extend the pa-features
property for every new processor generation, it is nicer
if we put the related code into a separate function.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c