qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [usb] redo usb_host_find_device() routine - strtoul ret


From: Lonnie Mendez
Subject: Re: [Qemu-devel] [usb] redo usb_host_find_device() routine - strtoul returning 0 for bus_num
Date: Thu, 15 Jun 2006 00:47:24 -0500

On Wed, 2006-06-14 at 17:57 +0200, Fabrice Bellard wrote:
> Lonnie Mendez wrote:
> >   lo list.  Trying usb_add host:3.2 was failing with:
> > 
> > /proc/bus/usb/000/002: No such file or directory
> > 
> >  in the terminal that qemu was spawned from.  It looks like strtoul was 
> > returning 0 for bus_num with the devname "host:3.2".  I rewrote the 
> > function to use sscanf in both cases.
> 
> Can you confirm ? From the code, usb_host_find_device() is never called 
> with "host:" as initial string (it is filtered before in vl.c).

   For whatever reason I am unable to reproduce this now.  It may have
been a contaminated binary.  For what it's worth this is with a
different distro.





reply via email to

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