AMDESE / AMDSEV

AMD Secure Encrypted Virtualization
294 stars 85 forks source link

Can't launch SEV-SNP geust (SNP_LAUNCH_START ret=-25 fw_error=0) #216

Open ksy980324 opened 4 months ago

ksy980324 commented 4 months ago

I can't launch SEV-SNP guest. It seems that a problem occurred while changing the version. The following error occurs:

qemu-system-x86_64: sev_snp_launch_start: SNP_LAUNCH_START ret=-25 fw_error=0 '' qemu-system-x86_64: sev_kvm_init: failed to create encryption context qemu-system-x86_64: failed to initialize kvm: Operation not permitted

image

What should I do?

tlendacky commented 4 months ago

Did you change the version of both Qemu and the host kernel? You must keep these in lock-step.