Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AA | Idempotence and robust of AAEL (AA Eventlog) #803

Closed
Xynnn007 opened this issue Nov 14, 2024 · 0 comments · Fixed by #807
Closed

AA | Idempotence and robust of AAEL (AA Eventlog) #803

Xynnn007 opened this issue Nov 14, 2024 · 0 comments · Fixed by #807
Assignees

Comments

@Xynnn007
Copy link
Member

Now when we enable eventlogging for AA, the launch of AA would create an AAEL file and extend the INIT event to hardware.

In some cases the AA would is not always available and would restart. This would let the hardware status be extended twice but the AAEL file does not record the corresponding records. We need a patch for AA to detect whether the AAEL file already exists. If so, the INIT event will not be extended to hardware and AA just append new entries to the AAEL file.

Another corner case that needs to be considered is if AA crashes during the AAEL recording process, how to reorganize the previously unrecorded entry and RTMR status when AA starts next time to protect atomicity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant