Skip to content

Add an IPMI device to QEMU

[email protected] qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20qemu-char: Allocate CharDriverState in qemu_chr_new_from_optsbackends/baum.c backends/msmouse.c hw/misc/ivshmem.c +6 more+113 -1320 replies
2/20qemu-char: Allow a chardev to reconnect if disconnectedinclude/sysemu/char.h qemu-char.c qemu-options.hx+85 -130 replies
3/20qemu-char: Fix a race reporting opens and closesqemu-char.c spice-qemu-char.c+21 -40 replies
4/20qemu-char: remove free of chr from win_stdio_closeqemu-char.c+0 -10 replies
5/20qemu-char: Close fd at end of fileqemu-char.c+29 -60 replies
6/20Add a base IPMI interfacedefault-configs/i386-softmmu.mak default-configs/x86_64-softmmu.mak hw/Makefile.objs +4 more+414 -00 replies
7/20ipmi: Add a PC ISA type structuredefault-configs/i386-softmmu.mak default-configs/x86_64-softmmu.mak hw/ipmi/Makefile.objs +2 more+163 -10 replies
8/20ipmi: Add a KCS low-level interfacedefault-configs/i386-softmmu.mak default-configs/x86_64-softmmu.mak hw/ipmi/Makefile.objs +1 more+345 -00 replies
9/20ipmi: Add a BT low-level interfacedefault-configs/i386-softmmu.mak default-configs/x86_64-softmmu.mak hw/ipmi/Makefile.objs +1 more+368 -00 replies
10/20ipmi: Add a local BMC simulationdefault-configs/i386-softmmu.mak default-configs/x86_64-softmmu.mak hw/ipmi/Makefile.objs +1 more+1554 -00 replies
11/20ipmi: Add an external connection simulation interfacedefault-configs/i386-softmmu.mak default-configs/x86_64-softmmu.mak hw/ipmi/Makefile.objs +1 more+478 -00 replies
12/20ipmi: Add teststests/Makefile tests/ipmi-bt-test.c tests/ipmi-kcs-test.c+742 -00 replies
13/20ipmi: Add documentationqemu-options.hx+35 -00 replies
14/20ipmi: Add migration capability to the IPMI device.hw/ipmi/ipmi.c hw/ipmi/ipmi.h hw/ipmi/ipmi_bt.c +4 more+129 -40 replies
15/20acpi: Add a way to extend tableshw/acpi/core.c include/hw/acpi/acpi.h+49 -00 replies
16/20acpi: Add table construction toolshw/acpi/Makefile.objs hw/acpi/acpi-elements.c include/hw/acpi/acpi-elements.h+429 -10 replies
17/20pc: Postpone adding ACPI and SMBIOS to fw_cfghw/i386/pc.c+30 -80 replies
18/20ipmi: Add ACPI table entries for BMCshw/ipmi/isa_ipmi.c+127 -00 replies
19/20smbios: Add a function to directly add an entryhw/i386/smbios.c include/hw/i386/smbios.h+29 -00 replies
20/20ipmi: Add SMBIOS table entryhw/ipmi/isa_ipmi.c include/hw/i386/smbios.h+35 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/20] Add an IPMI device to QEMU

I have finally gotten some time to work on this, this series of patches adds an IPMI interface to qemu. The changes are roughly:

patches 01-05 - Add the capability to have a chardev reconnect if the connections fails. This way, if using an external BMC, qemu will detect the failure and periodically attempt to reconnect. This also adds ways for the device code to get an event on a disconnect and connect so it can handle it properly. This is probably useful for things besides IPMI. There are also a few small bugfixes in this.

patches 06-14 - Add the IPMI device itself, with an ISA interface for now (PCI and others can also be added easily).

patches 15-18 - Add a way to dynamically add content to the ACPI tables, and add the capability to add the IPMI information to the table.

Patches 19-20 - Add a way to dynamically add content to the SMBIOS tables, and add an IPMI entry to the table.