[libvirt] [PATCH v3 07/30] virHostdevReAttachPCIDevices: Separate out function body

Cole Robinson crobinso at redhat.com
Mon Dec 9 22:45:24 UTC 2019


On 12/2/19 9:26 AM, Michal Privoznik wrote:
> In near future we will have a list of PCI devices we want to
> re-attach to the host (held in virPCIDeviceListPtr) but we don't
> have virDomainHostdevDefPtr. That's okay because
> virHostdevReAttachPCIDevices() works with virPCIDeviceListPtr
> mostly anyway. And in very few places where it needs
> virDomainHostdevDefPtr are not interesting for our case.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ACKed-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/util/virhostdev.c | 58 +++++++++++++++++++++++++++----------------
>  1 file changed, 37 insertions(+), 21 deletions(-)

Reviewed-by: Cole Robinson <crobinso at redhat.com>

- Cole




More information about the libvir-list mailing list