ppc/pnv: change the PowerNV machine devices to be non user creatable
commit23a782eb6670624f993a66a3c49866fe3cff4727
authorCédric Le Goater <clg@kaod.org>
Wed, 29 Jan 2020 11:37:20 +0000 (29 12:37 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 2 Feb 2020 03:07:57 +0000 (2 14:07 +1100)
treec93b948220b1c8f00602c434ea2a42680732363b
parent9ae1329ee2fee95f201ca219090d7c742eaf6a90
ppc/pnv: change the PowerNV machine devices to be non user creatable

The PowerNV machine emulates an OpenPOWER system and the PowerNV chip
devices are models of the internal logic of the POWER processor. They
can not be instantiated by the user on the QEMU command line.

The PHB3/PHB4 devices could be an exception in the future after some
rework on how the device tree is built. For the moment, exclude them
also.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200129113720.7404-1-clg@kaod.org>
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/pci-host/pnv_phb3.c
hw/pci-host/pnv_phb3_pbcq.c
hw/pci-host/pnv_phb4.c
hw/pci-host/pnv_phb4_pec.c
hw/ppc/pnv_core.c
hw/ppc/pnv_homer.c
hw/ppc/pnv_lpc.c
hw/ppc/pnv_occ.c