]> xenbits.xensource.com Git - libvirt.git/commit
virHostdevPreparePCIDevices: Construct pcidevs list earlier
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 7 Jun 2019 11:56:46 +0000 (13:56 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Jun 2019 08:29:54 +0000 (10:29 +0200)
commitbf450f5b3dc607a6d1f2e65002186dde37c5de84
tree2420ab6db5550730f40638c097d721d4d6c9efca
parent11fa712c26773db8586c1a0f4dbd360453603f00
virHostdevPreparePCIDevices: Construct pcidevs list earlier

There's no need to translate virDomainHostdevDef-s into
virPCIDevice-s with locked list of PCI devices.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virhostdev.c