qemu-server/PVE/QemuServer
Philipp Giersfeld 135270e7e7 config: add AMD SEV-SNP support.
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@canarybit.eu>
Tested-by: Markus Frank <m.frank@proxmox.com>
Reviewed-by: Markus Frank <m.frank@proxmox.com>
2025-04-03 20:31:37 +02:00
..
Agent.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
CGroup.pm fix #5528: override cgroup methods to call systemd via dbus 2024-07-23 08:05:53 +02:00
Cloudinit.pm cloud-init: commit disk: use volume format from storage layer 2024-12-09 09:07:17 +01:00
CPUConfig.pm config: add AMD SEV-SNP support. 2025-04-03 20:31:37 +02:00
Drive.pm drive: remove ancient 'cow' from formats 2025-04-03 18:41:17 +02:00
Helpers.pm move get_vm_arch() helper to helpers module 2025-01-17 19:24:02 +01:00
ImportDisk.pm import: add source size parameter to do_import() 2024-12-09 09:07:17 +01:00
Machine.pm machine: code cleanup: avoid superfluous augmented assignment operator 2025-01-17 19:24:02 +01:00
Makefile move meta information handling to its own module 2025-01-17 19:24:02 +01:00
Memory.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00
MetaInfo.pm move meta information handling to its own module 2025-01-17 19:24:02 +01:00
Monitor.pm monitor: allow passing timeout for a HMP command 2024-06-11 13:56:44 +02:00
PCI.pm pci passthrough: enable live-migration for capable mapped-devices 2025-04-03 16:38:36 +02:00
QMPHelpers.pm qmp helpers: device add/del: use HMP interface 2025-02-04 17:07:19 +01:00
USB.pm fix typos in user-visible strings 2024-10-24 13:15:06 +02:00