podvm: bind initdata only on TDX and Azure #3482
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.33) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 157 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.303
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3482"
general
weight: 0.35
david-long1
Part of #2604.
Since #3352, AA always gets
-t. On SNP outside Azure the host doesn't set HOSTDATA and there's no runtime measurement register, so AA can neither check nor record initdata: it exits and systemd restarts it in a loop. This follows the plan in #2604, using aplatform.envas @mkulke suggested.process-user-data detect-platformdetects TDX with the same checks as AA (configfs-tsm provider, then/dev/tdx_guest) and the CSP, and writesCSPandINITDATA_BINDING=yes|noto/run/peerpod/platform.env.modules-load.d, so they're loaded before detection.-tonly whenINITDATA_BINDING=yes, i.e. on TDX and Azure where binding is known to work. Elsewhere initdata stays unbound; on SNP outside Azure this avoids the crash loop.Tested with unit tests and a pod VM image on GCP TDX and SEV-SNP (Ubuntu 26.04) with AA from the pinned guest-components: on TDX the initdata is recorded in RTMR3, on SNP AA starts without
-t(with-tit exits).A possible follow-up, not needed for any provider today: check HOSTDATA instead of the CSP, so SNP keeps
-tif a provider starts setting it.cc @Xynnn007, thanks for the guest-components side that made this possible.