[pve-devel] applied: [PATCH qemu-server v5 3/4] config: add AMD SEV-SNP support.

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 3 21:46:08 CEST 2025


Am 31.03.25 um 15:59 schrieb Philipp Giersfeld:
> This patch is for enabling AMD SEV-SNP support.
> 
> Where applicable, it extends support for existing SEV(-ES) variables
> to SEV-SNP. This means that it retains no-debug and kernel-hashes
> options, but the no-key-sharing option is removed.
> 
> The default policy value is identical to QEMU’s, and the therefore
> required option has been added to configure SMT support.
> 
> The code was tested by running a VM without SEV, with SEV, SEV-ES,
> SEV-SNP. Each configuration was tested with and without an EFI disk
> attached. For SEV-enabled configurations it was also verified that the
> kernel actually used the respective feature.
> 
> Signed-off-by: Philipp Giersfeld <philipp.giersfeld at canarybit.eu>
> Tested-by: Markus Frank <m.frank at proxmox.com>
> ---
>   
>  no changes since last version
> 
>  PVE/API2/Qemu.pm            |  7 +++-
>  PVE/QemuServer.pm           | 52 +++++++++++++++++++++--------
>  PVE/QemuServer/CPUConfig.pm | 66 ++++++++++++++++++++++++++++---------
>  3 files changed, 95 insertions(+), 30 deletions(-)
> 
>

applied, thanks!

Did some smaller (code) style clean-ups as follow-up and added some very
basic config to command (cfg2cmd) tests to have a bit more coverage here.




More information about the pve-devel mailing list