qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix broken USB support for Linux host
Date: Tue, 21 Oct 2008 11:34:40 -0500	[thread overview]
Message-ID: <48FE04A0.4000902@codemonkey.ws> (raw)
In-Reply-To: <yqfhc76hrlx.fsf@knights-who-say-ni>

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 <bdq@dax.nu>
>   

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;
>          }
>
>
>   

      parent reply	other threads:[~2008-10-21 16:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-19 18:00 [Qemu-devel] Broken USB support for Linux host Bjorn Danielsson
2008-10-21 13:39 ` Anthony Liguori
2008-10-21 14:50   ` [Qemu-devel] [PATCH] Fix broken " Bjorn Danielsson
2008-10-21 15:53     ` Bjorn Danielsson
2008-10-21 16:17       ` Bjorn Danielsson
2008-10-21 16:34       ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48FE04A0.4000902@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).