]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: inform user which CVM is found during validation
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 20 Nov 2025 09:36:58 +0000 (04:36 -0500)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 20 Nov 2025 17:26:13 +0000 (17:26 +0000)
commit785c9fd5128f09cf1e6895d61bfc7b96c8218f37
treeeaf798af1e95b9ce6d3914c1d8a591555e0ba9ee
parentf44e2ecc5b5ddf1f133fe3a99f6cf1821c79da18
tools: inform user which CVM is found during validation

For AMD, the virt-host-validate 'secure guest' check reports
support for SEV, and there are then further check results
printed for SEV-ES/SEV-SNP which are overly verbose and the
long lines break output alignment.

This uses the new ability to report details with PASS results
to concisely tell the user which out of SEV/SEV-ES/SEV-SNP
are found. Only a single answer is neede, as SEV-SNP implies
SEV & SEV-ES, and SEV-ES implies SEV.

The TDX s390x PROT-VIRT checks also identify themselves.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tools/virt-host-validate-common.c