]> xenbits.xensource.com Git - libvirt.git/commit
conf: Move virDomainDeviceAddressIsValid() to device_conf
authorAndrea Bolognani <abologna@redhat.com>
Wed, 29 Aug 2018 16:19:15 +0000 (18:19 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 4 Sep 2018 08:54:32 +0000 (10:54 +0200)
commitab3f781a10c10cd45460339be5dac160061a15cf
treeb29efe28c66e242fe8a7f405d2e5ae74c38dce79
parentedeef77958529e2ca43366529632bd583ed8ee97
conf: Move virDomainDeviceAddressIsValid() to device_conf

The function is called on a virDomainDeviceInfo, so it
should be declared along with it.

Moving this function requires moving and making public
virDomainDeviceCCWAddressIsValid() as well, but that's
perfectly fine since the same reasoning above also
applies to it, due to virDomainDeviceCCWAddress being
(correctly) declared in device_conf.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/device_conf.c
src/conf/device_conf.h
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms