]> git.ipfire.org Git - thirdparty/libvirt.git/commit
schemas: backup: Allow missing 'type' attribute for backup disk
authorPeter Krempa <pkrempa@redhat.com>
Mon, 15 May 2023 12:28:06 +0000 (14:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 16 May 2023 08:26:33 +0000 (10:26 +0200)
commit9884e89236374a4f94382d99451dbc9208d78a29
treec50f13b6a41e0a278d95acfe6f1a07a2eafcdd61
parent1222ada2afe62279ce4c8844694b3cb756ddd60b
schemas: backup: Allow missing 'type' attribute for backup disk

One of our examples in the 'formatbackup.rst' page shows following
config:

  <disk name='vda' backup='yes'/>

The schema didn't allow it though. Fix the schema as the internals were
supposed to support it (except for the bug fixed in previous patches).

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/schemas/domainbackup.rng
tests/domainbackupxml2xmlin/backup-push.xml
tests/domainbackupxml2xmlout/backup-push.xml