Repository navigation
Conversation
The docs presented the NVML DevTools check as what keeps DevTools GPUs out. The guest driver reads that state from a GPU register over MMIO, which the host can emulate, so it is not evidence. On an H200 (VBIOS 96.00.D0.00.03, driver 595.91.07) switched to DevTools with gpu-admin-tools, nvattest local appraisal fails: driver RIM indices 32, 36, 37 and VBIOS RIM indices 5, 9 no longer match, so measres is "fail". The SPDM opaque data is identical to CC on, so the measurements are the only signed signal, and dstack already requires measres == "success". Document that, and that allow_devtools therefore only skips the NVML pre-check. nvattest also sets dbgstat/secboot only when measurements match, so allow_debug and allow_insecure_boot currently have no effect. Signed-off-by: Kevin Wang <wy721@qq.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The NVML DevTools check is host-spoofable: the guest driver reads the state from a GPU register over MMIO, which the host can emulate. What actually keeps DevTools GPUs out is the signed appraisal.
Tested on use1 (H200, VBIOS 96.00.D0.00.03, driver 595.91.07, nvattest 1.2.2, mode switched with gpu-admin-tools):
result_codemeasresDocs and
GpuPolicyfield comments now say:measres; the NVML check and the event'sdevtoolsfield are host-reported.allow_devtoolsonly skips the NVML pre-check; a DevTools GPU still fails attestation.allow_debug/allow_insecure_boothave no effect with current nvattest, which setsdbgstat/secbootonly when measurements match.No behavior change.