[libvirt] [PATCH 14/24] hostdev: Look up devices using IDs when possible
John Ferlan
jferlan at redhat.com
Thu Mar 10 17:27:30 UTC 2016
On 03/07/2016 12:24 PM, Andrea Bolognani wrote:
> 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 | 59 ++++++++++++++++++++++++---------------------------
> 1 file changed, 28 insertions(+), 31 deletions(-)
>
ACK
John
More information about the libvir-list
mailing list