ipmi: Add a local BMC simulation
This provides a minimal local BMC, basically enough to comply with the spec and provide a complete watchdog timer (including a sensor, SDR, and event). Signed-off-by: Corey Minyard <cminyard@mvista.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
23076bb34b
commit
8bfffbccad
@ -10,6 +10,7 @@ CONFIG_VMWARE_VGA=y
|
|||||||
CONFIG_VIRTIO_VGA=y
|
CONFIG_VIRTIO_VGA=y
|
||||||
CONFIG_VMMOUSE=y
|
CONFIG_VMMOUSE=y
|
||||||
CONFIG_IPMI=y
|
CONFIG_IPMI=y
|
||||||
|
CONFIG_IPMI_LOCAL=y
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
CONFIG_PARALLEL=y
|
CONFIG_PARALLEL=y
|
||||||
CONFIG_I8254=y
|
CONFIG_I8254=y
|
||||||
|
@ -10,6 +10,7 @@ CONFIG_VMWARE_VGA=y
|
|||||||
CONFIG_VIRTIO_VGA=y
|
CONFIG_VIRTIO_VGA=y
|
||||||
CONFIG_VMMOUSE=y
|
CONFIG_VMMOUSE=y
|
||||||
CONFIG_IPMI=y
|
CONFIG_IPMI=y
|
||||||
|
CONFIG_IPMI_LOCAL=y
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
CONFIG_PARALLEL=y
|
CONFIG_PARALLEL=y
|
||||||
CONFIG_I8254=y
|
CONFIG_I8254=y
|
||||||
|
@ -1 +1,2 @@
|
|||||||
common-obj-$(CONFIG_IPMI) += ipmi.o
|
common-obj-$(CONFIG_IPMI) += ipmi.o
|
||||||
|
common-obj-$(CONFIG_IPMI_LOCAL) += ipmi_bmc_sim.o
|
||||||
|
1726
hw/ipmi/ipmi_bmc_sim.c
Normal file
1726
hw/ipmi/ipmi_bmc_sim.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user