hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate function
commit5c179666057a7568306062e2cd030042a25eb57a
authorThomas Huth <thuth@redhat.com>
Wed, 28 Sep 2016 11:16:28 +0000 (28 13:16 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 13 Oct 2016 01:58:06 +0000 (13 12:58 +1100)
treeb0c7cb6305e1f4348aceed971cb5db67151f6693
parent6ff3ab0d6b44fde29a6d936512e2afea213f83b5
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>
(cherry picked from commit 230bf719d3a3b144a4ffa441e5d6170ef0ad8999)
hw/ppc/spapr.c