ppc/pnv: Introduce PowerNV machines with fixed CPU models
commitf30c843ced5055fde71d28d10beb15af97fdfe39
authorCédric Le Goater <clg@kaod.org>
Wed, 31 Jul 2019 14:12:16 +0000 (31 16:12 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 28 Aug 2019 23:45:53 +0000 (29 09:45 +1000)
tree140c6aa640383ddf675f17b6ef139f734f25c9d3
parentf47a08d1a71825c10188968251e6f4a8ef647b99
ppc/pnv: Introduce PowerNV machines with fixed CPU models

Make the current "powernv" machine an abstract type and derive from it
new machines with specific CPU models: power8 and power9.

The "powernv" machine is now an alias on the "powernv9" machine.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190731141233.1340-2-clg@kaod.org>
[dwg: Adjust pnv-xscom-test to cope with this change]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
tests/pnv-xscom-test.c