[PATCH skeleton] skeleton: Add BMC coldReset() method to org.openbmc.control.Bmc dbus interface

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jan 19 15:40:35 AEDT 2016


The host sends IPMI 'cold reset' command to reset BMC. Ipmid
calls the org.openbmc.control.Bmc::coldReset() to do reset.
coldReset() just invokes "reboot --force", which in effect
same as a 'cold' reset.

Signed-off-by: Nan Li <bjlinan at cn.ibm.com>

https://github.com/openbmc/skeleton/pull/29

William (1):
  skeleton: Add BMC coldReset() method to org.openbmc.control.Bmc dbus
    interface

 interfaces/openbmc_intf.c | 56 +++++++++++++++++++++++------------------------
 interfaces/openbmc_intf.h | 10 ++++-----
 objects/control_bmc_obj.c | 37 ++++++++++++++++++++++++++-----
 xml/openbmc_intf.xml      |  2 +-
 4 files changed, 66 insertions(+), 39 deletions(-)

-- 
2.6.4




More information about the openbmc mailing list