Re: [PATCH v5 09/23] libxl: remove unnecessary check from libxl__device_pci_add()

2020-12-04 Thread Wei Liu
On Thu, Dec 03, 2020 at 02:25:20PM +, Paul Durrant wrote: > From: Paul Durrant > > The code currently checks explicitly whether the device is already assigned, > but this is actually unnecessary as assigned devices do not form part of > the list returned by libxl_device_pci_assignable_list()

[PATCH v5 09/23] libxl: remove unnecessary check from libxl__device_pci_add()

2020-12-03 Thread Paul Durrant
From: Paul Durrant The code currently checks explicitly whether the device is already assigned, but this is actually unnecessary as assigned devices do not form part of the list returned by libxl_device_pci_assignable_list() and hence the libxl_pci_assignable() test would have already failed. Si