Hi, Here are a few patches adding a couple of IPMI commands to the BMC simulator.
Changes since v2: - splitted a bit more the patchset to separate fixes - moved forward patch "ipmi: fix SDR length value" as it is a fix - changed sdr_add_entry() prototype to use struct a ipmi_sdr_header Changes since v1: - Added IPMI to ppc. We will need it for the future powernv platform. - Added some initial cleanups - Kept FRU, the API extensions to expose SDR and generate events for later, may be as an extension of this patchset. (Work in progress) Based on 3db34bf64ab4 and also available here : https://github.com/legoater/qemu/commits/ipmi Thanks, Cédric Le Goater (10): ppc: add IPMI support ipmi: replace goto by a return statement ipmi: replace *_MAXCMD defines ipmi: cleanup error_report messages ipmi: fix SDR length value ipmi: introduce a struct ipmi_sdr_compact ipmi: add get and set SENSOR_TYPE commands ipmi: add GET_SYS_RESTART_CAUSE chassis command ipmi: add ACPI power and GUID commands ipmi: add SET_SENSOR_READING command (tentative try) default-configs/ppc64-softmmu.mak | 4 + hw/ipmi/ipmi_bmc_sim.c | 486 ++++++++++++++++++++++++++------------ include/hw/ipmi/ipmi.h | 45 ++++ 3 files changed, 389 insertions(+), 146 deletions(-) -- 2.1.4