summaryrefslogtreecommitdiffstats
path: root/host-ipmid-whitelist.conf
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2018-10-29 13:34:26 -0700
committerTom Joseph <tomjoseph@in.ibm.com>2018-12-10 14:52:37 +0000
commit316f23d9394af9aeba71a935a45f749259ce4211 (patch)
treecf2d243c8642a52a43d7faad0425bf2df35861e7 /host-ipmid-whitelist.conf
parent4fe7efe8855f28e73278baa286eb45e221a15a1c (diff)
downloadphosphor-host-ipmid-316f23d9394af9aeba71a935a45f749259ce4211.tar.gz
phosphor-host-ipmid-316f23d9394af9aeba71a935a45f749259ce4211.zip
ipmid: host-cmd-manager to use default event source for timers
The sdbusplus/timer.hpp class can be passed an event, but by default, it just uses the default system event queue. This updates the host-cmd-manager Manager class to use the defaults. Tested-by: Send the heartbeat command with the host powered off and watch for a timeout message: dbus-send --print-reply --system \ --dest=xyz.openbmc_project.Ipmi.Host \ /xyz/openbmc_project/control/host0 \ xyz.openbmc_project.Control.Host.Execute \ string:"xyz.openbmc_project.Control.Host.Command.Heartbeat" Watch the log (journalctl -f): Nov 27 00:34:52 wolfpass ipmid[1255]: Pushing cmd on to queue Nov 27 00:34:52 wolfpass ipmid[1255]: Pushing cmd on to queue Nov 27 00:34:52 wolfpass ipmid[1255]: Asserting SMS Attention Nov 27 00:34:52 wolfpass ipmid[1255]: SMS Attention asserted Nov 27 00:35:23 wolfpass ipmid[1255]: Host control timeout hit! Change-Id: I904d34b67050723a9c7e405bda4e02f1a9cb4dbd Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'host-ipmid-whitelist.conf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud