Skip to content

Conversation

@sprt
Copy link

@sprt sprt commented Jan 12, 2024

Merge Checklist
Summary

microsoft/azurelinux#6942 introduces a debug config file with confidential_guest=true and sev_snp_guest=false. This PR enables that config file to be used. See commit message for more info.

Test Methodology

Local testing

enableProtection() is called when confidential_guest=true, so we
disable this check to allow us to test running with
confidential_guest=true and sev_snp_guest=false.

Note this was already done by Wedson previously to allow testing on
non-SNP CPUs, but the purpose here is different.

Signed-off-by: Aurelien Bombo <[email protected]>
@sprt sprt force-pushed the sprt/debug-conf-guest branch from 23e3dba to dcdc39a Compare January 12, 2024 17:43
@sprt sprt marked this pull request as ready for review January 12, 2024 17:44
default:
return errors.New("This system doesn't support Confidential Computing (Guest Protection)")
// Allow running with no hardware protection for testing.
return nil

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] would it be useful to add a log here saying there's no hardware protection?

@dallasd1
Copy link

Is there a pointer to the new debug file with these options?

@sprt
Copy link
Author

sprt commented Jan 12, 2024

Is there a pointer to the new debug file with these options?

Yep I linked the spec PR in the description 🙂

@sprt sprt merged commit 74a9b96 into msft-main Jan 16, 2024
@sprt sprt added the upstream/missing PRs that are yet to be upstreamed label Jan 22, 2024
sprt added a commit that referenced this pull request Feb 10, 2025
sprt added a commit that referenced this pull request Feb 27, 2025
sprt added a commit that referenced this pull request Mar 3, 2025
sprt added a commit that referenced this pull request Mar 4, 2025
sprt added a commit that referenced this pull request Mar 4, 2025
sprt added a commit that referenced this pull request Mar 4, 2025
sprt added a commit that referenced this pull request Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream/missing PRs that are yet to be upstreamed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants