Signed-off-by: Nikolai Barybin <nikolai.bary...@virtuozzo.com> --- src/conf/schemas/domaincommon.rng | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng index 5597d5a66b..dc8f708779 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -4816,6 +4816,11 @@ <ref name="crashOptions"/> </element> </optional> + <optional> + <element name="coredump_format"> + <ref name="coredumpFormat"/> + </element> + </optional> <optional> <element name="on_lockfailure"> <ref name="lockfailureOptions"/> @@ -4862,6 +4867,20 @@ <value>coredump-restart</value> </choice> </define> + <!-- + Spicifies domain's coredump format when 'coredump-destroy' or 'coredump-restart' + are chosen in crashOptions. + Default value is 'raw'. + --> + <define name="coredumpFormat"> + <choice> + <value>raw</value> + <value>kdump-zlib</value> + <value>kdump-lzo</value> + <value>kdump-snappy</value> + <value>win-dmp</value> + </choice> + </define> <!-- Options when resource locks are lost: poweroff: power off the domain -- 2.43.5