]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: start search for next unused PCI address at same slot as previous find
authorLaine Stump <laine@laine.org>
Fri, 21 Oct 2016 17:05:33 +0000 (13:05 -0400)
committerLaine Stump <laine@laine.org>
Wed, 11 Jan 2017 09:39:08 +0000 (04:39 -0500)
commit66e0b08d3477e43240f3713856a6ef1621fb1266
treec99882dcbf8b05ff7cd5b4c9f96df2e85f48cb41
parent99bf66f3fa38884294a51f68bf24ea93eaf0dbb5
conf: start search for next unused PCI address at same slot as previous find

There is a very slight time advantage to beginning the search for the
next unused PCI address at the slot *after* the previous find (which
is now used), but if we do that, we will miss allocating the other
functions of the same slot (when we implement a
VIR_PCI_CONNECT_AGGREGATE_SLOT flag to support that).
src/conf/domain_addr.c