]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Move checks from virDomainDiskDefPostParse to virDomainDiskDefValidate
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 Apr 2021 07:36:57 +0000 (09:36 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Apr 2021 12:43:59 +0000 (14:43 +0200)
commit1645fc6aa792fc353a7439955c62fc1439ce593d
treec074d95dfb10ac8a8099d6fb94a92d4e5d4a6651
parentfc2e60fda714740d55fb0baaf65c47898215028f
conf: Move checks from virDomainDiskDefPostParse to virDomainDiskDefValidate

The moved code contains only checks and does not modify the parsed
document so it doesn't belong into the PostParse code.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
src/conf/domain_validate.c