]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: new function virDomainPCIAddressSetAllMulti()
authorLaine Stump <laine@laine.org>
Tue, 10 Jan 2017 05:02:40 +0000 (00:02 -0500)
committerLaine Stump <laine@laine.org>
Wed, 11 Jan 2017 09:40:24 +0000 (04:40 -0500)
commit3c1a0fc27d271590818c672fab4dc935c6d2f21d
tree900a6769e3d6937b2b12e5624672451dc4a58988
parent66e0b08d3477e43240f3713856a6ef1621fb1266
conf: new function virDomainPCIAddressSetAllMulti()

This utility function iterates through all devices looking for any
with a PCI address that has function != 0 (which implies that multiple
functions are in use on that slot), then uses an inner iterator to
find the device that's on function 0 of that same slot and sets the
"multi" in its virDomainDeviceInfo (as long as it hasn't already been
set explicitly by someone who presumably has better information than
we do).

It isn't yet called from anywhere, so will have no functional effect.
src/conf/domain_addr.c
src/conf/domain_addr.h
src/libvirt_private.syms