Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't enable sev_snp on Ubuntu22.04 #247

Open
Cinderella0709 opened this issue Nov 14, 2024 · 1 comment
Open

can't enable sev_snp on Ubuntu22.04 #247

Cinderella0709 opened this issue Nov 14, 2024 · 1 comment

Comments

@Cinderella0709
Copy link

Hi,

I'm new to confidential computing, and I want to test AMD sev_snp cooperating with Nvidia H100 to enable CC capability. However, I can't enable sev_snp by following the tutorial of sev-snp-devel branch. sev and sev-es are enabled, and I can launch a kvm by pass -object sev-guest. If I change the parameter into -object sev-snp-guest, I will get an error when launch kvm: qemu-system-x86_64: sev_kvm_init: failed to initialize ret=-25 fw_error=0 '' and qemu-system-x86_64: failed to initialize kvm: Operation not permitted.

my environment configuration is as follow:
image
image

@tlendacky
Copy link
Collaborator

The snp-latest branch is the branch that should be used from the AMDSEV repo.

I would recommend pulling the latest upstream Linux kernel or the kernel from the https://github.com/AMDESE/linux.git using the snp-host-latest branch.

Please try either one of those and report back if unable to enable SNP.

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

No branches or pull requests

2 participants