]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: prevent duplicate entries in network device pools
authorLaine Stump <laine@laine.org>
Mon, 18 Apr 2016 19:07:26 +0000 (15:07 -0400)
committerLaine Stump <laine@laine.org>
Tue, 19 Apr 2016 16:39:13 +0000 (12:39 -0400)
commit3583e75d7e68ebf7757ac5b2e318ce47d25ae69c
treedd22b7c9cd8de9835cf9a5ed161f110c4c4ddce8
parent3a773c43c8018a94d37ed3671702cc3863accf36
network: prevent duplicate entries in network device pools

Prior to this patch we didn't make any attempt to prevent two entries
in the array of interfaces/PCI devices from pointing to the same
device.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1002423
src/conf/network_conf.c
tests/networkxml2xmlin/hostdev-duplicate.xml [new file with mode: 0644]
tests/networkxml2xmlin/passthrough-duplicate.xml [new file with mode: 0644]
tests/networkxml2xmltest.c