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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
