Re: [pve-devel] [PATCH qemu-server v6 1/3] add C program to get AMD SEV hardware parameters from CPUID

2024-04-22 Thread Thomas Lamprecht
Am 19/04/2024 um 12:59 schrieb Markus Frank > diff --git a/amd-sev-support/amd-sev-support.c > b/amd-sev-support/amd-sev-support.c > new file mode 100644 > index 000..73a7bd8 > --- /dev/null > +++ b/amd-sev-support/amd-sev-support.c > @@ -0,0 +1,48 @@ > +#include > +#include > +#include >

Re: [pve-devel] [PATCH qemu-server v6 1/3] add C program to get AMD SEV hardware parameters from CPUID

2024-04-22 Thread Thomas Lamprecht
Am 19/04/2024 um 12:59 schrieb Markus Frank: > Implement a systemd service that runs a C program that extracts AMD SEV > hardware parameters such as reduced-phys-bios and cbitpos from CPUID at boot > time, looks if SEV, SEV-ES & SEV-SNP are enabled, and outputs these details > as JSON to

[pve-devel] [PATCH qemu-server v6 1/3] add C program to get AMD SEV hardware parameters from CPUID

2024-04-19 Thread Markus Frank
Implement a systemd service that runs a C program that extracts AMD SEV hardware parameters such as reduced-phys-bios and cbitpos from CPUID at boot time, looks if SEV, SEV-ES & SEV-SNP are enabled, and outputs these details as JSON to /run/amd-sev-params. Signed-off-by: Markus Frank ---