qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto conn


From: Max Krasnyansky
Subject: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto connect.
Date: Thu, 14 Aug 2008 13:34:49 -0700
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Anthony Liguori wrote:
> Max Krasnyansky wrote:
>> Anthony Liguori wrote:
>>  
>>> Max Krasnyansky wrote:
>>>    
>>>> Anyway, it's implemented using a periodic timer that scans host devices
>>>> and grabs those that match the filter. Timer is started when the first
>>>> filter is added.
>>>>         
>>> Again, there has to be a way to get notified of usb device add/remove in
>>> Linux.
>>>     
>>
>> Yes the best way is probably registering with HAL via dbus.
>>   
> I was afraid you would say that :-)
:)

>> Do you mind if we do something like that incrementally ?
>>   
> 
> Yeah, I don't really want to have QEMU depend on dbus so in this case,
> polling would be better.

I'm thinking that maybe we could use 'inotify' on /proc/bus/usb.
Would you be ok with 'inotify' ?

Max




reply via email to

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