Hi, Here are a few patches adding a couple of IPMI commands to the BMC simulator. The last patches provides an API to extend the initial SDRs and generate events. These will be useful for the upcoming powernv platform.
Based on 38a762fec63f and also available here : https://github.com/legoater/qemu/commits/ipmi Thanks, Cédric Le Goater (8): ipmi: fix SDR length value ipmi: add get and set SENSOR_TYPE commands ipmi: add GET_SYS_RESTART_CAUSE chassis command ipmi: add FRU support ipmi: add ACPI power and GUID commands ipmi: add SET_SENSOR_READING command (tentative try) ipmi: introduce an ipmi_bmc_init_sensor() API ipmi: introduce an ipmi_bmc_gen_event() API hw/ipmi/ipmi_bmc_sim.c | 483 ++++++++++++++++++++++++++++++++++++++++++++++--- include/hw/ipmi/ipmi.h | 39 ++++ 2 files changed, 500 insertions(+), 22 deletions(-) -- 2.1.4