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

SNP enabled kata container #9672

Open
pegahnikbakht opened this issue May 20, 2024 · 0 comments
Open

SNP enabled kata container #9672

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

Comments

@pegahnikbakht
Copy link

Hi,

I'm using kata-containers to setup a SNP enabled container, I'm using kata containers version 3.5.0 and I used the configuration-qemu-snp.toml for the right configurations for SNP container, I used the kernel 6.7.0 for the container and used the correct qemu, but I'm getting the following error when running the container
May 20 11:32:00 ns31501727 kata[278443]: time="2024-05-20T11:32:00.077255433Z" level=error msg="qemu-system-x86_64: sev_kvm_init: failed to initialize ret=-22 fw_error=0 ''" name=containerd-shim-v2 pid=2> May 20 11:32:00 ns31501727 containerd[245019]: time="2024-05-20T11:32:00.077255433Z" level=error msg="qemu-system-x86_64: sev_kvm_init: failed to initialize ret=-22 fw_error=0 ''" name=containerd-shim-v2> May 20 11:32:00 ns31501727 kata[278443]: time="2024-05-20T11:32:00.142156899Z" level=error msg="qemu-system-x86_64: failed to initialize kvm: Operation not permitted" name=containerd-shim-v2 pid=278443 q> May 20 11:32:00 ns31501727 containerd[245019]: time="2024-05-20T11:32:00.142156899Z" level=error msg="qemu-system-x86_64: failed to initialize kvm: Operation not permitted" name=containerd-shim-v2 pid=27
Any idea on how to solve this?

Thanks in advance,
Pegah

@pegahnikbakht pegahnikbakht added the question Requires an answer label May 20, 2024
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

1 participant