]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virHostdevReAttachPCIDevices: Separate out function body
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 11 Jun 2019 08:24:04 +0000 (10:24 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 09:04:43 +0000 (10:04 +0100)
commitec4ad1a5f5babcb66af57f3a6eda36e977f17d4a
tree94b7e004024e1a49dcffeb529b4b4551965f971d
parent12140238870aad16c45f52253f448de8a7cda4e0
virHostdevReAttachPCIDevices: Separate out function body

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@redhat.com>
ACKed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/util/virhostdev.c