Skip to content

ghci/igvm_attest: handle quote error in notification path#741

Open
haitaohuang wants to merge 1 commit intointel:mainfrom
haitaohuang:error
Open

ghci/igvm_attest: handle quote error in notification path#741
haitaohuang wants to merge 1 commit intointel:mainfrom
haitaohuang:error

Conversation

@haitaohuang
Copy link
Contributor

When MigTD registers for VMM notification of quote completion, ghci returns Ok without checking the status code in the GetQuote buffer. Remove the early return so the status code is checked after the notification is received.

Also log an unexpected error when ghci returns success but quote size is zero.

@haitaohuang haitaohuang requested a review from jyao1 as a code owner March 9, 2026 23:56
@haitaohuang haitaohuang force-pushed the error branch 2 times, most recently from 3246f78 to 2f9c823 Compare March 10, 2026 00:40
When MigTD registers for VMM notification of quote completion, ghci
returns Ok without checking the status code in the GetQuote buffer.
Remove the early return so the status code is checked after the
notification is received.

Copy shared buffer content to input even for error cases to pass
error/status info back to caller.

Also log an unexpected errors.

Signed-off-by: Haitao Huang <haitaohuang@microsoft.com>
@haitaohuang
Copy link
Contributor Author

The CI failure seems timing related

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 this pull request may close these issues.

1 participant