On Mon, Aug 18, 2008 at 1:21 PM, Max Krasnyansky <[EMAIL PROTECTED]> wrote: > Javier Guerra wrote: >> >> what about doing it the other way around? that is, setting udev >> scripts that notify KVM of the hardware changes. > > That seems a bit odd. What if you have more than one QEMU instance and > stuff.
there has to be some policy in place to redirect USB devices to each QEMU instance, maybe at startup it could reserve a node in the USB device tree (an USB controller, or maybe a port in a hub). when invoked by udev, some script would consult those reservations and pick the appropriate QEMU yep, it's not trivial, but seems doable with scripts (and a small DB, or maybe a clever filesystem arrangement). -- Javier -- 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