qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix broken USB support for Linux host


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Fix broken USB support for Linux host
Date: Tue, 21 Oct 2008 11:34:40 -0500
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Bjorn Danielsson wrote:
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>

Applied.  Thanks.

Regards,

Anthony Liguori

Index: usb-linux.c
===================================================================
--- usb-linux.c (revision 5499)
+++ usb-linux.c (working copy)
@@ -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;
         }







reply via email to

[Prev in Thread] Current Thread [Next in Thread]