]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Only detect PCI Express devices as root in udev nodedev driver
authorJán Tomko <jtomko@redhat.com>
Mon, 30 Jun 2014 13:18:23 +0000 (15:18 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 1 Jul 2014 14:30:32 +0000 (16:30 +0200)
commit5de9b50259892402db4147c2dadc2c736ba26faf
treec2e3321fdcbec78eaf20b8af335ec3c998f61740
parent1229ef493fe003c624307fb89c90c55f58f275ac
Only detect PCI Express devices as root in udev nodedev driver

This stops the error message spam when running unprivileged
libvirtd:
2014-06-30 12:38:47.990+0000: 631: error : virPCIDeviceConfigOpen:300 :
Failed to open config space file
'/sys/bus/pci/devices/0000:00:00.0/config': Permission denied

Reported by Daniel Berrange:
https://www.redhat.com/archives/libvir-list/2014-June/msg01082.html
src/node_device/node_device_udev.c