Getting AMD SEV working

damo2929

Member
Mar 15, 2022
106
15
23
44
Hi all

hoping somebody is using SEV on VM's as am trying to enable it but the VM just keeps looping on the splash of the EFI and not booting, I can't enter the efi to set up setting and it doesn't boot the CD or iso file.



host has SEV enabled
root@wlsc-pxmh01:~# dmesg | grep SEV
[ 15.648093] ccp 0000:22:00.1: SEV API:0.24 build:18
[ 16.738453] kvm_amd: SEV enabled (ASIDs 1 - 509)
[ 16.738493] kvm_amd: SEV-ES disabled (ASIDs 0 - 0)

it's running
Linux wlsc-pxmh01 6.5.13-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-1 (2024-02-05T13:50Z) x86_64 GNU/Linux
root@wlsc-pxmh01:~# kvm --version
QEMU emulator version 8.1.5 (pve-qemu-kvm_8.1.5-3)
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers


the guest is configured with
root@wlsc-pxmh01:~# cat /etc/pve/qemu-server/10072.conf
acpi: 1
agent: enabled=1,fstrim_cloned_disks=1,type=virtio
args: -object sev-guest,id=sev0,cbitpos=47,reduced-phys-bits=1 -machine memory-encryption=sev0
balloon: 0
bios: ovmf
boot: order=sata0;scsi0
cores: 16
cpu: EPYC-IBPB
efidisk0: windev:vm-10072-disk-2,efitype=4m,pre-enrolled-keys=1,size=528K
hotplug: network,disk,usb
machine: q35
memory: 8192
meta: creation-qemu=7.2.0,ctime=1699444078
name: wlsc-lcm02
net0: virtio=AE:AE:4E:FB:07:25,bridge=WinDev
numa: 0
ostype: l26
sata0: isos:iso/fedora39.iso,media=cdrom,size=2079836K
scsi0: windev:vm-10072-disk-0,cache=unsafe,discard=on,size=115G,ssd=1
scsi1: windev:vm-10072-disk-1,cache=unsafe,discard=on,size=2000G,ssd=1
scsihw: virtio-scsi-pci
smbios1: base64=1,serial=d2xzYy1sY20wMg==
sockets: 1
spice_enhancements: videostreaming=all
vga: qxl
vmgenid: 53dd1a54-8b07-46ea-8d21-868cd4b01d31


any ideas what am doing wrong here ?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!