Re: [libvirt] [PATCH v3 5/8] conf: new function virDomainPCIAddressIsMulti()

2016-12-20 Thread Andrea Bolognani
On Mon, 2016-12-19 at 10:23 -0500, Laine Stump wrote: > This function iterates through all the devices in a domain to > determine if the address it has been given is part of a "multifunction > device" (i.e. multiple devices connected to different functions of the > same slot). [...] > +static int

[libvirt] [PATCH v3 5/8] conf: new function virDomainPCIAddressIsMulti()

2016-12-19 Thread Laine Stump
This function iterates through all the devices in a domain to determine if the address it has been given is part of a "multifunction device" (i.e. multiple devices connected to different functions of the same slot). This implementation may seem a bit inefficient because it has to iterate through