aboutsummaryrefslogtreecommitdiff
path: root/block/qcow.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-07-03 09:28:02 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-10 13:44:29 -0500
commit554962405cb18a3e624edf05b6257eaf9273810c (patch)
tree7c4d9cb4ddbd6dba78ed67cecc10dd892b819438 /block/qcow.c
parent1fa63e43e64596455938e09d3e6ec89eb0c4bbc8 (diff)
Prefer sysfs for USB host devices
Scanning for devices via /sys/bus/usb/devices/ and using them via the /dev/bus/usb/<bus>/<device> character devices is the prefered method on modern kernels, so try that first. When using SELinux and libvirt, qemu will have access to /sys/bus/usb but not /proc/bus/usb, so although the current code will work just fine, it will generate SELinux AVC warnings. See also: https://bugzilla.redhat.com/508326 Reported-by: Daniel Berrange <berrange@redhat.com> Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block/qcow.c')
0 files changed, 0 insertions, 0 deletions