Hi, Here are a few patches adding a couple of IPMI commands to the BMC simulator.
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 (9): ppc: add IPMI support ipmi: replace goto by a return statement ipmi: replace *_MAXCMD defines ipmi: introduce a struct ipmi_sdr_compact ipmi: fix SDR length value 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 | 479 ++++++++++++++++++++++++++------------ include/hw/ipmi/ipmi.h | 45 ++++ 3 files changed, 385 insertions(+), 143 deletions(-) -- 2.1.4