]> xenbits.xensource.com Git - libvirt.git/commit
docs: schemas: Add 'seclabel' for external disk snapshot
authorPeter Krempa <pkrempa@redhat.com>
Tue, 5 Jun 2018 13:54:00 +0000 (15:54 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 20 Jun 2019 15:08:53 +0000 (17:08 +0200)
commitac88a8cfad1c93897ddbbfa1cc1aabcf0245255c
tree0fb6707aedabef813fb220dc521775be30e73660
parentc79ef73c37b1f91d38745cb1197026e702ce42fe
docs: schemas: Add 'seclabel' for external disk snapshot

Allow using seclabels the same way as disk images allow it. Currently
the snapshot code copies the seclabels from the original image if no
seclabel is provided. Also there's no code change required as the
snapshot XML parser actually uses parts of the disk parser thus
seclabels are already parsed and formatted and even applied thus this is
just a formalization of our support for this.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
docs/formatsnapshot.html.in
docs/schemas/domainsnapshot.rng
tests/domainsnapshotxml2xmlin/disk-seclabel-invalid.xml [deleted file]
tests/domainsnapshotxml2xmlin/disk-seclabel.xml [new file with mode: 0644]