]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainDiskDefValidate: Move validation of disk target
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Sep 2021 08:01:39 +0000 (10:01 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 9 Sep 2021 08:17:28 +0000 (10:17 +0200)
commit0404d4fc386d29231f94e2b8b4736d290e403aca
tree8c25a3339310a8a50b6caf02b9705d527c253f6c
parentcf6b34c683d29d233b44db8a2e8996995d8e9664
virDomainDiskDefValidate: Move validation of disk target

The disk target is mandatory and used as a designator in error messages
of other validation steps, so we must validate it first.

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