]> xenbits.xensource.com Git - libvirt.git/commit
virt-host-validate: Detect SEV-ES and SEV-SNP
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 24 Jun 2024 07:31:09 +0000 (09:31 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Jun 2024 12:59:30 +0000 (14:59 +0200)
commit1a8f646f291775d2423ce4e4df62ad69f06ab827
tree477fd4f58efae9153705bfb97261582aaf4cc39a
parent30c01e535d8bed8223c542513f2c93c3ecefa370
virt-host-validate: Detect SEV-ES and SEV-SNP

With a simple cpuid (Section "E.4.17 Function
8000_001Fh—Encrypted Memory Capabilities" in "AMD64 Architecture
Programmer’s Manual Vol. 3") we can detect whether CPU is capable
of running SEV-ES and/or SEV-SNP guests. Report these in
virt-host-validate tool.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tools/virt-host-validate-common.c