feat: add support for newly added lifecycle states of a vCPU
Please refer to section 7 of the FF-A v1.3 ALP2 specification for
details of newly added lifecycle states. The changes in this patch
help partition manager to support the use case of managing lifecycle
of a secure partition from its creation to deletion.
Change-Id: I78d52b33e0eb3a7ea93dd65e85dbc37fcaa384a9
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
diff --git a/src/vm.c b/src/vm.c
index 1a01a6f..bca85bd 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -94,7 +94,10 @@
return NULL;
}
- /* Do basic initialization of vCPUs. */
+ /*
+ * Do basic initialization of vCPUs, i.e. All vCPUs of the partition
+ * shall be in CREATED state.
+ */
for (i = 0; i < vcpu_count; i++) {
vcpu_init(vm_get_vcpu(vm, i), vm);
}