diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-04-28 10:26:31 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-05-11 09:45:14 +1000 |
commit | a1a636b8b444acacf8c4299923c907ed2475811f (patch) | |
tree | 8516f97e226dc7edc10ca710c9dc02cc65b8dbcf /hw/ppc/e500plat.c | |
parent | 76d20ea0f1b26ebd5da2f5fb2fdf3250cde887bb (diff) |
ppc/pnv: restrict BMC object to the BMC simulator
Today, when a PowerNV guest runs, it uses the sensor definitions of
the BMC simulator to populate the device tree. But an external IPMI
BMC could also be used and, in that case, it is not (yet) possible to
retrieve the sensor list. Generating the OEM SEL event for shutdown or
reboot also does not make sense as it should be generated on the BMC
side.
This change allows a guest to use an 'ipmi-bmc-extern' backend to the
'isa-ipmi-bt' device and a 'chardev' for transport such as :
-chardev socket,id=ipmi0,host=localhost,port=9002,reconnect=10 \
-device ipmi-bmc-extern,id=bmc0,chardev=ipmi0 \
-device isa-ipmi-bt,bmc=bmc0,irq=10
and connect to a BMC simulator, the OpenIPMI ipmi_sim simulator for
instance.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/e500plat.c')
0 files changed, 0 insertions, 0 deletions