
16 Dec
2015
16 Dec
'15
8:31 a.m.
On Tue, 2015-12-15 at 13:53 -0500, Laine Stump wrote:
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.
Pushed, thanks. -- Andrea Bolognani Software Engineer - Virtualization Team