]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_conf: move duplicate check functions to domain_validate.c
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Thu, 10 Dec 2020 18:32:43 +0000 (15:32 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 14 Dec 2020 12:21:14 +0000 (09:21 -0300)
commitf774ea1a962dcf876e4e6b73cf5b6537a5275bd8
tree18938d0ed159abd252b85099dc2ffac8c2143a5c
parent6068ee9acc5bae6b644e5c1e2b7623f5a4fb3586
domain_conf: move duplicate check functions to domain_validate.c

virDomainDefCheckDuplicateDiskInfo() and virDomainDefCheckDuplicateDriveAddresses()
are static functions used by virDomainDefValidateInternal(). Let's
move them to domain_validate.c to start clearing up the path to
move virDomainDefValidateInternal().

Change the functions name slightly to be more on par with their
new home.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/domain_validate.c
src/conf/domain_validate.h