Re: [libvirt] [PATCH v2 2/2] qemu_domain_address: use virPCIDeviceAddressEqual() in conditionals

2019-09-23 Thread Erik Skultety
On Fri, Sep 20, 2019 at 10:52:55AM -0300, Daniel Henrique Barboza wrote: > A common operation in qemu_domain_address is comparing a > virPCIDeviceAddress and assigning domain, bus, slot and function > to a specific value. The former can be done with the existing > virPCIDeviceAddressEqual()

[libvirt] [PATCH v2 2/2] qemu_domain_address: use virPCIDeviceAddressEqual() in conditionals

2019-09-20 Thread Daniel Henrique Barboza
A common operation in qemu_domain_address is comparing a virPCIDeviceAddress and assigning domain, bus, slot and function to a specific value. The former can be done with the existing virPCIDeviceAddressEqual() helper, as long as we provide a virPCIDeviceAddress to compare it to. The later can be