Support for a fake LAN channel is added to the device `ipmi_bmc_sim`. Although there is no real LAN channel, some testing processes which require interactions with BMC LAN channel will become easier.
There's another device `ipmi_bmc_extern` which works together with some external BMC simulator, e.g., `ipmi_sim`. More comprehensive BMC simulation can be achieved with `ipmi_bmc_extern`. However, `ipmi_bmc_sim` is more light-weight and is built into QEMU. Yunpeng Yang (2): hw/ipmi/ipmi_bmc_sim: Support getting fake LAN channel config hw/ipmi/ipmi_bmc_sim: Support setting fake LAN channel config hw/ipmi/ipmi_bmc_sim.c | 407 +++++++++++++++++++++++++++++++++++- include/hw/ipmi/ipmi.h | 1 + qemu-options.hx | 26 +++ tests/qtest/ipmi-kcs-test.c | 143 +++++++++++++ 4 files changed, 567 insertions(+), 10 deletions(-) -- 2.43.7
