summary refs log tree commit diff stats
path: root/hw/ipmi/ipmi_bt.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2025-04-02 00:01:50 +1000
committerCorey Minyard <corey@minyard.net>2025-04-11 10:50:42 -0500
commit7f9e7af40a1721e5adb95761754bc12af0f3d2f1 (patch)
tree6dca5553c2c4bb2040ee5cdb713b75b12cf52031 /hw/ipmi/ipmi_bt.c
parent7376d10b50fb5faa8324092c3f70195d713e34ac (diff)
downloadfocaccia-qemu-7f9e7af40a1721e5adb95761754bc12af0f3d2f1.tar.gz
focaccia-qemu-7f9e7af40a1721e5adb95761754bc12af0f3d2f1.zip
ipmi/bmc-sim: Add 'Get Channel Info' command
Linux issues this command when booting a powernv machine.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-ID: <20250401140153.685523-4-npiggin@gmail.com>
Signed-off-by: Corey Minyard <corey@minyard.net>
Diffstat (limited to 'hw/ipmi/ipmi_bt.c')
-rw-r--r--hw/ipmi/ipmi_bt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ipmi/ipmi_bt.c b/hw/ipmi/ipmi_bt.c
index 583fc64730..28cf6ab218 100644
--- a/hw/ipmi/ipmi_bt.c
+++ b/hw/ipmi/ipmi_bt.c
@@ -419,6 +419,8 @@ void ipmi_bt_get_fwinfo(struct IPMIBT *ib, IPMIFwInfo *info)
     info->interface_type = IPMI_SMBIOS_BT;
     info->ipmi_spec_major_revision = 2;
     info->ipmi_spec_minor_revision = 0;
+    /* BT System Interface Format, IPMI v1.5 */
+    info->ipmi_channel_protocol = IPMI_CHANNEL_PROTOCOL_BT_15;
     info->base_address = ib->io_base;
     info->register_length = ib->io_length;
     info->register_spacing = 1;