feat: add support for partition lifecycle support fields
This patch adds support for parsing lifecycle fields specified by
partitions in respective manifests:
- `lifecycle-support`
- `abort-action`
Change-Id: I5e25bede1cd90be108255acd3a2855567c5e43b4
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
diff --git a/inc/hf/vm.h b/inc/hf/vm.h
index b5d01bf..311c703 100644
--- a/inc/hf/vm.h
+++ b/inc/hf/vm.h
@@ -273,6 +273,18 @@
/* List entry pointing to the next VM in the boot order list. */
struct list_entry boot_list_node;
+
+ /**
+ * Abort action taken by SPMC if the vCPU of this partition encounters
+ * a fatal error.
+ */
+ enum abort_action abort_action;
+
+ /**
+ * Whether the partition supports all the states defined in the
+ * Partition Lifecycle guidance.
+ */
+ bool lifecycle_support;
};
/** Encapsulates a VM whose lock is held. */