[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5507] Fix broken USB support for Linux host (Bjorn Daniels
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [5507] Fix broken USB support for Linux host (Bjorn Danielsson) |
Date: |
Tue, 21 Oct 2008 16:27:29 +0000 |
Revision: 5507
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5507
Author: aliguori
Date: 2008-10-21 16:27:28 +0000 (Tue, 21 Oct 2008)
Log Message:
-----------
Fix broken USB support for Linux host (Bjorn Danielsson)
Make "host:" usb devices work again on systems that have the
file /proc/bus/usb/devices. This was broken in r5441 due to
incorrect logic for the USB_FS_SYS case in usb_host_scan().
Signed-off-by: Bjorn Danielsson <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Modified Paths:
--------------
trunk/usb-linux.c
Modified: trunk/usb-linux.c
===================================================================
--- trunk/usb-linux.c 2008-10-21 11:31:27 UTC (rev 5506)
+++ trunk/usb-linux.c 2008-10-21 16:27:28 UTC (rev 5507)
@@ -1293,7 +1293,8 @@
usb_fs_type = USB_FS_SYS;
closedir(dir);
dprintf(opened, USBSYSBUS_PATH, devices);
- } else {
+ }
+ if (!usb_fs_type) {
term_printf("husb: unable to access USB devices\n");
goto the_end;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5507] Fix broken USB support for Linux host (Bjorn Danielsson),
Anthony Liguori <=