]> xenbits.xensource.com Git - libvirt.git/commit
conf: Introduce helper to find duplicate device address
authorPeter Krempa <pkrempa@redhat.com>
Wed, 21 Jan 2015 14:41:44 +0000 (15:41 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 10 Feb 2015 12:05:22 +0000 (13:05 +0100)
commitc88b323bf5d5a070c074fda7adc11085f14415ce
treea665cab291e87ebd89e9980708633e3c87bd14ba
parent3f9f4aa84f5f5986b91680a110eb72bf83fef95f
conf: Introduce helper to find duplicate device address

When adding devices to the definition it's useful to check whether the
devices don't reside on a conflicting address. This patch adds a helper
that iterates all device info and compares the addresses with the given
info.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms