diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-06-07 21:17:45 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-12 13:11:29 +0000 |
commit | 758c1aecbaaa8b120b0203b6a5b106e3e599180d (patch) | |
tree | 92ef0eff02085dcbf0ff2bea420124ee49a46a60 /elog-errors.hpp | |
parent | 2b4e459867d6b6693676c483958ec899be140316 (diff) | |
download | phosphor-host-ipmid-758c1aecbaaa8b120b0203b6a5b106e3e599180d.tar.gz phosphor-host-ipmid-758c1aecbaaa8b120b0203b6a5b106e3e599180d.zip |
Return the heartbeat command if queue is empty
There are numerous valid situations where the host
interface queue may be empty, but the host has an
active SMS_ATN. In these cases, ipmid should not log
an error and abort but instead just return a default
command. The default will be the heartbeat command
since its basically a noop to the host.
Resolves openbmc/openbmc#1750
Change-Id: I810bb0368c2cbd4aa99b6cf20d29eeefc8b312cd
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'elog-errors.hpp')
-rw-r--r-- | elog-errors.hpp | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/elog-errors.hpp b/elog-errors.hpp deleted file mode 100644 index 1db2709..0000000 --- a/elog-errors.hpp +++ /dev/null @@ -1,66 +0,0 @@ -// This file was autogenerated. Do not edit! -// See elog-gen.py for more details -#pragma once - -#include <string> -#include <tuple> -#include <type_traits> -#include <sdbusplus/exception.hpp> -#include <phosphor-logging/log.hpp> -#include <phosphor-logging/elog.hpp> - - -namespace phosphor -{ - -namespace logging -{ - -namespace xyz -{ -namespace openbmc_project -{ -namespace Control -{ -namespace Internal -{ -namespace Host -{ -namespace _QueueEmpty -{ - - -} // namespace _QueueEmpty - -struct QueueEmpty : public sdbusplus::exception_t -{ - static constexpr auto errName = "xyz.openbmc_project.Control.Internal.Host.QueueEmpty"; - static constexpr auto errDesc = "The host response queue is empty and it should not be!"; - static constexpr auto L = level::ERR; - using metadata_types = std::tuple<>; - - const char* name() const noexcept - { - return errName; - } - - const char* description() const noexcept - { - return errDesc; - } - - const char* what() const noexcept - { - return errName; - } -}; - -} // namespace Host -} // namespace Internal -} // namespace Control -} // namespace openbmc_project -} // namespace xyz - -} // namespace logging - -} // namespace phosphor |