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: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto connect.
Date: Thu, 14 Aug 2008 15:21:50 -0500
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

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.

ie Merge the current patch then change polling to HAL registration.
That would simplify testing/patch stacking for me. Existing users are
not affected anyway since the timer is activated only when new filter is added.

Regards,

Anthony Liguori





reply via email to

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