ipmi: add a realize function to the device class
commit0bc6001f0da95f7e187b655ed1183173ab876995
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 10 Mar 2016 14:03:58 +0000 (10 15:03 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Mar 2016 14:59:13 +0000 (11 16:59 +0200)
tree29532f908784bc48a718326ae095f9a428a0ecd7
parent6acb971a9412819ab2fe4def8739d3f1c0ffe9a1
ipmi: add a realize function to the device class

This will be useful to define and use properties when the object is
instantiated.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/ipmi/ipmi_bmc_sim.c