From: Arun Menon <[email protected]> SWTPM will support backup and fsync of the state file. [1] and [2] Libvirt needs to support these options while launching a VM. This commit adds these optional attributes to the RNG schema
[1] https://github.com/stefanberger/swtpm/commit/186f72a3a995fc68957ffc0b1438bb6e30d51ef0 [2] https://github.com/stefanberger/swtpm/commit/795c1973c913da59925fa6c2d688c5ef51cb5b73 Signed-off-by: Arun Menon <[email protected]> --- src/conf/schemas/domaincommon.rng | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng index 887fb8f808..0751d7ff47 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -6196,6 +6196,16 @@ <ref name="uint8"/> </attribute> </optional> + <optional> + <attribute name="backup"> + <ref name="virYesNo"/> + </attribute> + </optional> + <optional> + <attribute name="fsync"> + <ref name="virYesNo"/> + </attribute> + </optional> </group> <group> <attribute name="type"> -- 2.54.0
