boot-block: quiesce host on error
If the user has requested the boot be blocked on an error with a
callout then also quiesce the host if it is running when this error
occurs.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I9f1f4fc1c704850649217770f4cfcff1cad70404
diff --git a/log_manager.hpp b/log_manager.hpp
index 87dd038..34117dc 100644
--- a/log_manager.hpp
+++ b/log_manager.hpp
@@ -286,6 +286,13 @@
/** @brief Remove block objects for any resolved entries */
void findAndRemoveResolvedBlocks();
+ /** @brief Quiesce host if it is running
+ *
+ * This is called when the user has requested the system be quiesced
+ * if a log with a callout is created
+ */
+ void checkAndQuiesceHost();
+
/** @brief Persistent sdbusplus DBus bus connection. */
sdbusplus::bus::bus& busLog;