]> Git Repo - qemu.git/commit
ipmi: provide support for FRUs
authorCédric Le Goater <[email protected]>
Wed, 5 Apr 2017 12:41:32 +0000 (14:41 +0200)
committerDavid Gibson <[email protected]>
Wed, 26 Apr 2017 02:41:21 +0000 (12:41 +1000)
commit540c07d3453c1a82dd66608bcb2cde79ea91b192
tree6bde575a78ff7d2c900b1a25554e19627e90b44d
parent8c6fd7f341fd7e414171e09618b496de871da718
ipmi: provide support for FRUs

This patch provides a simple FRU support for the BMC simulator. FRUs
are loaded from a file which name is specified in the object
properties, each entry having a fixed size, also specified in the
properties. If the file is unknown or not accessible for some reason,
a unique entry of 1024 bytes is created as a default. Just enough to
start some simulation.

These commands complies with the IPMI spec : "34. FRU Inventory Device
Commands".

Signed-off-by: Cédric Le Goater <[email protected]>
Acked-by: Corey Minyard <[email protected]>
[dwg: Folded in subsequent fix to handle NULL filename]
Signed-off-by: David Gibson <[email protected]>
hw/ipmi/ipmi_bmc_sim.c
qemu-options.hx
This page took 0.02598 seconds and 4 git commands to generate.