PHAL: Guard related service action support for PHAL logs
Added required fields in the PEL user data section to create
guard record entries for PHAL specific error logs
Tested: verified guard logs.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ie3c190e1cdd75bb8bee113f2d34025499f24d3fa
diff --git a/extensions/phal/phal_error.cpp b/extensions/phal/phal_error.cpp
index b15a56e..f1cf125 100644
--- a/extensions/phal/phal_error.cpp
+++ b/extensions/phal/phal_error.cpp
@@ -458,6 +458,9 @@
}
jsonCalloutData["Deconfigured"] = cdg_tgt.deconfigure;
jsonCalloutData["Guarded"] = cdg_tgt.guard;
+ jsonCalloutData["GuardType"] = cdg_tgt.guard_type;
+ jsonCalloutData["EntityPath"] =
+ cdg_tgt.target_entity_path;
jsonCalloutDataList.emplace_back(jsonCalloutData);
});