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

Build SNP kernel #9589

Open
pegahnikbakht opened this issue May 3, 2024 · 3 comments
Open

Build SNP kernel #9589

pegahnikbakht opened this issue May 3, 2024 · 3 comments
Labels
question Requires an answer

Comments

@pegahnikbakht
Copy link

pegahnikbakht commented May 3, 2024

Hi,

I'm following this guide https://github.com/kata-containers/kata-containers/blob/e5e0983b56534f007cf06ab39f323961b17ff642/docs/how-to/how-to-run-kata-containers-with-SNP-VMs.md to setup an SNP container, I'm running this on a bare metal machine with SNP support and the kernel is 6.9.0-rc1-snp-host-f9b5bc22b945
When I try the following command ./kernel/build-kernel.sh -a x86_64 -x snp setup snp is not accepted as an option in this command, how should I pass snp to the script?

Thanks in advance.

@pegahnikbakht pegahnikbakht added the question Requires an answer label May 3, 2024
@fitzthum
Copy link
Contributor

fitzthum commented May 3, 2024

That guide is a bit out of date. These days you should be able to run SNP guests with the confidential kernel that we build for coco or really with a wide variety of upstream kernels.

@pegahnikbakht
Copy link
Author

pegahnikbakht commented May 3, 2024

I tried coco first and I had too much problem with it, also in their release note of v.0.8 they say SNP is untested or partially supported! I'm looking for something more stable.

@fitzthum
Copy link
Contributor

fitzthum commented May 3, 2024

You should be able to start a pod with SNP on v0.9.0 or v0.9.0-alpha0. Make sure that your host kernel and guest kernel are in sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Requires an answer
Projects
Issue backlog
  
To do
Development

No branches or pull requests

2 participants