]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ipmi/ipmi_bmc_sim: Support getting fake LAN channel config
authorYunpeng Yang <yunpeng.yang@nutanix.com>
Mon, 5 Jan 2026 15:56:54 +0000 (15:56 +0000)
committerCorey Minyard <corey@minyard.net>
Mon, 5 Jan 2026 19:07:23 +0000 (13:07 -0600)
commitfb7e4f79682a8bb2b6802cc8e0ecd628b2b5e805
tree1a26a5bd1e9e69a056f4a4cdb433f63fb72c9390
parent159107e390609f71b78268a4888563dcdce6ac65
hw/ipmi/ipmi_bmc_sim: Support getting fake LAN channel config

The following IPMI commands are added or modified to support getting
fake LAN channel configurations from the `ipmi_bmc_sim` device:
* Get Channel Access;
* Get Channel Info Command;
* Get LAN Configuration Parameters.

The fake LAN channel configurations can be specified from QEMU
commandline options for device `ipmi_bmc_sim`. Inside the guest OS, the
configurations can be retrieved from the device using some IPMI tools,
e.g., `ipmitool lan print`.
Note, there is not a real LAN channel. The fake LAN channel is suitable
for testing purposes.

Signed-off-by: Yunpeng Yang <yunpeng.yang@nutanix.com>
Message-ID: <20260105155648.1037077-2-yunpeng.yang@nutanix.com>
Signed-off-by: Corey Minyard <corey@minyard.net>
hw/ipmi/ipmi_bmc_sim.c
include/hw/ipmi/ipmi.h
qemu-options.hx