ipmi: use a function to initialize the SDR table
commit4fa9f08e968db4d40fe6faf3ebd1adfdfb816a16
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 10 Mar 2016 14:03:59 +0000 (10 15:03 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Mar 2016 14:59:13 +0000 (11 16:59 +0200)
tree087eaf49f63e77c7c1badcf9ef7ee238d5b8b57b
parent0bc6001f0da95f7e187b655ed1183173ab876995
ipmi: use a function to initialize the SDR table

This patch moves the code section initializing the sdrs in its own
routine to prepare ground for changes in the subsequent patches.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Acked-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_bmc_sim.c