]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hostdev: Remove virHostdevGetActivePCIHostDeviceList()
authorAndrea Bolognani <abologna@redhat.com>
Wed, 24 Feb 2016 12:37:44 +0000 (13:37 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 15 Mar 2016 09:33:17 +0000 (10:33 +0100)
commit4cdbff3d523a52961eed783d4bc288d2033afd3f
treeabe2b2ebfb0e4e662894c23face2a54fb903ac92
parent885e34c91646c3da536378c16764178fa452acec
hostdev: Remove virHostdevGetActivePCIHostDeviceList()

virHostdevGetPCIHostDeviceList() is similar but does not filter out
devices that are not in the active list; that said, we are looking
up the device in the active list just a few lines after anyway, so
we might as well just keep a single function around.

This also helps stress the fact the objects contained in pcidevs are
only for looking up the actual devices, which is something later
commits will make even more explicit.
src/util/virhostdev.c