svsm-vtpm / linux-svsm

Linux SVSM (Secure VM Service Module) for secure x86 virtualization in Rust
MIT License
9 stars 4 forks source link

kvm: Operation not permitted #7

Open pegahnikbakht opened 1 year ago

pegahnikbakht commented 1 year ago

I'm following the steps in Running Linux SVSM part and I get this error qemu-system-x86_64: sev_kvm_init: failed to initialize ret=-95 fw_error=0 '' qemu-system-x86_64: failed to initialize kvm: Operation not permitted when running the command below ./launch-qemu.sh -hda guest.qcow2 -sev-snp -svsm svsm.bin Is there any solution for this error?