Re: [PATCH RESEND 05/20] virpci: introduce virPCIDeviceExists()

2021-01-20 Thread Laine Stump
On 1/18/21 2:53 PM, Daniel Henrique Barboza wrote: We're going to add logic to handle the case where a previously existing PCI device does not longer exist in the host. The logic was copied from virPCIDeviceNew(), which verifies if a PCI device exists in the host, returning NULL and throwing an

[PATCH RESEND 05/20] virpci: introduce virPCIDeviceExists()

2021-01-18 Thread Daniel Henrique Barboza
We're going to add logic to handle the case where a previously existing PCI device does not longer exist in the host. The logic was copied from virPCIDeviceNew(), which verifies if a PCI device exists in the host, returning NULL and throwing an error if it doesn't. The NULL is used for other