ipmi: rework the fwinfo to be fetched from the interface
commit15139b8ef0ea3d9dd35965bdd5d4f564ffa6e9e1
authorCorey Minyard <cminyard@mvista.com>
Tue, 24 May 2016 17:37:17 +0000 (24 12:37 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Jun 2016 12:36:54 +0000 (7 15:36 +0300)
tree03a090b82ba749ca27d5bdab62eb28d2b6a41bb6
parent53c400a6ac37a3ed112c0577896a857d49029807
ipmi: rework the fwinfo to be fetched from the interface

Instead of scanning IPMI devices from a fwinfo list, allow
the fwinfo to be fetched from the IPMI interface class.
Then the code looking for IPMI fwinfo can scan devices on a
bus and look for ones that implement the IPMI class.

This will let the ACPI scope be defined by the calling
code so the IPMI code doesn't have to know the scope.

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>
hw/ipmi/ipmi.c
hw/ipmi/isa_ipmi_bt.c
hw/ipmi/isa_ipmi_kcs.c
include/hw/ipmi/ipmi.h