]> xenbits.xensource.com Git - libvirt.git/commit
conf: Move <disk> encryption validation
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Sep 2017 15:01:40 +0000 (11:01 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 15 Sep 2017 12:12:26 +0000 (08:12 -0400)
commitfae7a7354c29938faacf9a2406f90f93e30fec9d
treec51c50a8cbf0bc2a3389df6f53935844557cc2a8
parent411cdb61509ad8b21f3f9aa8e0dbe1c955996104
conf: Move <disk> encryption validation

Rather than checking during XML processing, move the check for
valid <encryption> into virDomainDiskDefParseValidate and alter
the text of the message slightly to be a bit more correct.
src/conf/domain_conf.c