when building snp-latest, an upstream guest kernel no longer works , so i assumed we need a new guest kernel.
but the guest kernel has no /dev/sev-guest
root@snpguest:~# dmesg | grep -i snp
[ 0.000000] Linux version 6.1.0-rc4-snp-guest-95869433edcb (root@a9a648f3ea82) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 SMP Thu May 4 10:24:30 UTC 2023
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-rc4-snp-guest-95869433edcb root=UUID=6fc0fb29-465b-446c-a967-810af21ab590 ro quiet
[ 0.042901] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-rc4-snp-guest-95869433edcb root=UUID=6fc0fb29-465b-446c-a967-810af21ab590 ro quiet
[ 0.042960] Unknown kernel command line parameters "BOOT_IMAGE=/boot/vmlinuz-6.1.0-rc4-snp-guest-95869433edcb", will be passed to user space.
[ 0.425832] Memory Encryption Features active: AMD SEV SEV-ES SEV-SNP
[ 0.576881] SEV: Using SNP CPUID table, 31 entries present.
[ 0.767229] SEV: SNP guest platform device initialized.
[ 1.233799] BOOT_IMAGE=/boot/vmlinuz-6.1.0-rc4-snp-guest-95869433edcb
root@snpguest:~# modprobe sev
modprobe: FATAL: Module sev not found in directory /lib/modules/6.1.0-rc4-snp-guest-95869433edcb
grep SEV_GUEST /boot/config-6.1.0-rc4-snp-guest-95869433edcb
CONFIG_SEV_GUEST=m
when building snp-latest, an upstream guest kernel no longer works , so i assumed we need a new guest kernel.
but the guest kernel has no /dev/sev-guest