]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hostdev: Look up devices using IDs when possible
authorAndrea Bolognani <abologna@redhat.com>
Tue, 23 Feb 2016 16:46:48 +0000 (17:46 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 14 Mar 2016 13:55:47 +0000 (14:55 +0100)
commit36243a0c6268456df152f5501ec69cb818f4da64
tree14646e01cf649614649492b268578825537ae281
parente57e9413ac77a887395a75417038448d331bd5ca
hostdev: Look up devices using IDs when possible

When we want to look up a device in a device list and we already
have the IDs from another source, we can simply use
virPCIDeviceListFindByIDs() instead of creating a temporary device
object.
src/util/virhostdev.c