]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domcaps: Report launchSecurity
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Jun 2024 07:53:57 +0000 (09:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Jun 2024 12:46:03 +0000 (14:46 +0200)
commitd460e17282bec89dee1252db4fb3f2b7aa1b5ee8
tree0c573df457294c38f96a0f0a5dfd64c269f2a60e
parentd00816209ef1eccea9e01737fcee35bebc772c96
domcaps: Report launchSecurity

In order to learn what types of <launchSecurity/> are supported
users can turn to domain capabilities and find <sev/> and
<s390-pv/> elements. While these may expose some additional info
on individual launchSecurity types, we are lacking clean
enumeration (like we do for say device models). And given that
SEV and SEV SNP share the same basis (info found under <sev/> is
applicable to SEV SNP too) we have no other way to report SEV SNP
support.

Therefore, report supported launchSecurity types in domain
capabilities.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
docs/formatdomaincaps.rst
src/conf/domain_capabilities.c
src/conf/domain_capabilities.h
src/conf/schemas/domaincaps.rng