[pve-devel] applied: [PATCH qemu-server v12 2/6] add C program to get hardware capabilities from CPUID

Thomas Lamprecht t.lamprecht at proxmox.com
Sun Nov 17 19:41:59 CET 2024


Am 11.11.24 um 14:57 schrieb Markus Frank:
> Implement a C program that extracts AMD SEV hardware information such
> as reduced-phys-bios and cbitpos from CPUID, looks if SEV, SEV-ES &
> SEV-SNP are enabled, and outputs these details as JSON to
> /run/qemu-server/host-hw-capabilities.json
> 
> This program can also be used to read and save other hardware
> information.
> 
> Signed-off-by: Markus Frank <m.frank at proxmox.com>
> Co-authored-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> Reviewed-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
> changes v12:
> * improved error handling
> 
>  Makefile                                      |  1 +
>  query-machine-capabilities/Makefile           | 18 +++++
>  .../query-machine-capabilities.c              | 79 +++++++++++++++++++
>  3 files changed, 98 insertions(+)
>  create mode 100644 query-machine-capabilities/Makefile
>  create mode 100644 query-machine-capabilities/query-machine-capabilities.c
> 
>

applied, thanks!

how will this be called again? just because I forgot and do not see any
systemd unit file here.




More information about the pve-devel mailing list