qga/commands-posix: Move the udev code from the pci to the generic function
commit43dadc431bacbc5a5baee7e256288a98a3e95ce3
authorThomas Huth <thuth@redhat.com>
Wed, 22 Jul 2020 04:40:27 +0000 (22 06:40 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Sun, 13 Sep 2020 01:36:20 +0000 (12 20:36 -0500)
tree22822098bbde681768a3c500e4a6cd35b72d0e47
parentd9fe4f0fea31f0560dc40d3576bc6c48ad97109f
qga/commands-posix: Move the udev code from the pci to the generic function

The libudev-related code is independent from the other pci-related code
and can be re-used for non-pci devices (like ccw devices on s390x). Thus
move this part to the generic function.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1755075
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c