You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(attestation): differentiate retriable errors from non-retriable ones
Classify tdvmcall_get_quote and buffer status errors into 2 categories:
- Busy: VMCALL_RETRY, GET_QUOTE_IN_FLIGHT, GET_QUOTE_ERROR, GET_QUOTE_SERVICE_UNAVAILABLE
Retried with exponential backoff (1s initial), up to 5 attempts.
- Non-retriable: VMCALL_OPERAND_INVALID and other errors cause immediate failure.
Propagate error categories through attest.rs and igvmattest.rs.
Update mock quote emulation to return Ok with error status in buffer
(matching real VMM behavior) instead of returning Err, and trigger
the notification interrupt so ghci.rs wakes from wait_for_vmm_notification.
Add igvm-attest feature to mock-quote-retry CI test since retry
differentiation only applies to the igvm-attest path.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Haitao Huang <haitaohuang@microsoft.com>
0 commit comments