[libvirt] [PATCH v3] pci: Use virPCIDeviceAddress in virPCIDevice
Andrea Bolognani
abologna at redhat.com
Wed Dec 16 08:31:12 UTC 2015
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
More information about the libvir-list
mailing list