You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: