]> xenbits.xensource.com Git - libvirt.git/commit
util: rename virPCIDeviceGetDriverPathAndName
authorLaine Stump <laine@redhat.com>
Sun, 9 Jul 2023 03:12:09 +0000 (23:12 -0400)
committerLaine Stump <laine@redhat.com>
Fri, 25 Aug 2023 03:36:18 +0000 (23:36 -0400)
commit222b66974e8256965c089fb0f244dc1e01f708e7
tree0718b785ef7ac17fa1dce4eff8b56041c1605de7
parent1bb961797153a92a40a3c517114e4920c65672d4
util: rename virPCIDeviceGetDriverPathAndName

Instead, call it virPCIDeviceGetCurrentDriverPathAndName() to avoid
confusion with the device name that is stored in the virPCIDevice
object - that one is not necessarily the name of the current driver
for the device, but could instead be the driver that we want to be
bound to the device in the future.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/hypervisor/virhostdev.c
src/libvirt_private.syms
src/util/virpci.c
src/util/virpci.h
tests/virpcitest.c