From 498b5b7440303e645e8d26bbca7804d6471b6a70 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Wed, 13 Nov 2024 12:39:45 -0500 Subject: [PATCH] schema: Extend schema for TPM emulator profile node Extend the schema for the TPM emulator profile node. Require that the profile the user provides is described in a 'source' attribute. An optional remove_disabled attribute is also supported for swtpm to automatically remove algorithms from the 'custom' profile if they are disabled by FIPS mode on the host. Signed-off-by: Stefan Berger Signed-off-by: Michal Privoznik Reviewed-by: Michal Privoznik --- src/conf/schemas/domaincommon.rng | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng index 2ba94d1f02..91711470f1 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -5929,6 +5929,7 @@ + @@ -6051,6 +6052,30 @@ + + + [A-Za-z0-9.\-:]+ + + + + + + + + + + + + + check + fips-host + + + + + + +