mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
5073aa994a
Based off how QEMU does it, look through /sys/bus/usb/devices/* for matching vendor:product info, and if found, use info from the surrounding files to build the device's /dev/bus/usb path. This fixes USB device assignment by vendor:product when running qemu as non-root (well, it should, but for some reason I couldn't reproduce the failure people are seeing in [1], but it appears to work properly) [1] https://bugzilla.redhat.com/show_bug.cgi?id=542450
79 lines
1.8 KiB
Plaintext
79 lines
1.8 KiB
Plaintext
daemon/dispatch.c
|
|
daemon/libvirtd.c
|
|
daemon/remote.c
|
|
daemon/stream.c
|
|
src/conf/cpu_conf.c
|
|
src/conf/domain_conf.c
|
|
src/conf/domain_event.c
|
|
src/conf/interface_conf.c
|
|
src/conf/network_conf.c
|
|
src/conf/node_device_conf.c
|
|
src/conf/secret_conf.c
|
|
src/conf/storage_conf.c
|
|
src/conf/storage_encryption_conf.c
|
|
src/cpu/cpu.c
|
|
src/cpu/cpu_map.c
|
|
src/cpu/cpu_x86.c
|
|
src/datatypes.c
|
|
src/interface/netcf_driver.c
|
|
src/libvirt.c
|
|
src/lxc/lxc_container.c
|
|
src/lxc/lxc_controller.c
|
|
src/lxc/lxc_driver.c
|
|
src/network/bridge_driver.c
|
|
src/node_device/node_device_driver.c
|
|
src/node_device/node_device_linux_sysfs.c
|
|
src/node_device/node_device_udev.c
|
|
src/nodeinfo.c
|
|
src/opennebula/one_conf.c
|
|
src/opennebula/one_driver.c
|
|
src/openvz/openvz_conf.c
|
|
src/openvz/openvz_driver.c
|
|
src/phyp/phyp_driver.c
|
|
src/qemu/qemu_bridge_filter.c
|
|
src/qemu/qemu_conf.c
|
|
src/qemu/qemu_driver.c
|
|
src/qemu/qemu_monitor.c
|
|
src/qemu/qemu_monitor_json.c
|
|
src/qemu/qemu_monitor_text.c
|
|
src/remote/remote_driver.c
|
|
src/secret/secret_driver.c
|
|
src/security/security_driver.c
|
|
src/security/security_apparmor.c
|
|
src/security/security_selinux.c
|
|
src/security/virt-aa-helper.c
|
|
src/storage/storage_backend.c
|
|
src/storage/storage_backend_disk.c
|
|
src/storage/storage_backend_fs.c
|
|
src/storage/storage_backend_iscsi.c
|
|
src/storage/storage_backend_logical.c
|
|
src/storage/storage_backend_mpath.c
|
|
src/storage/storage_backend_scsi.c
|
|
src/storage/storage_driver.c
|
|
src/test/test_driver.c
|
|
src/uml/uml_conf.c
|
|
src/uml/uml_driver.c
|
|
src/util/bridge.c
|
|
src/util/conf.c
|
|
src/util/hostusb.c
|
|
src/util/json.c
|
|
src/util/logging.c
|
|
src/util/pci.c
|
|
src/util/processinfo.c
|
|
src/util/storage_file.c
|
|
src/util/util.c
|
|
src/util/uuid.c
|
|
src/util/virterror.c
|
|
src/util/xml.c
|
|
src/vbox/vbox_driver.c
|
|
src/vbox/vbox_tmpl.c
|
|
src/xen/proxy_internal.c
|
|
src/xen/xend_internal.c
|
|
src/xen/xen_driver.c
|
|
src/xen/xen_hypervisor.c
|
|
src/xen/xen_inotify.c
|
|
src/xen/xm_internal.c
|
|
src/xen/xs_internal.c
|
|
tools/console.c
|
|
tools/virsh.c
|