
15 Dec
2015
15 Dec
'15
6:53 p.m.
On 12/15/2015 01:23 PM, Andrea Bolognani wrote:
Instead of replicating the information (domain, bus, slot, function) inside the virPCIDevice structure, use the already-existing virPCIDeviceAddress structure.
For users of the module, this means that the object returned by virPCIDeviceGetAddress() can no longer be NULL and must no longer be freed by the caller. ---
Changes in v3:
* don't check the return value of virPCIDeviceGetAddress(), it can no longer be NULL * don't use a variable to store the device address if it's only going to be used a single time
ACK.