qemu-devel
[Top][All Lists]
Advanced

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

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


From: Javier Guerra
Subject: Re: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto connect.
Date: Mon, 18 Aug 2008 13:52:59 -0500

On Mon, Aug 18, 2008 at 1:21 PM, Max Krasnyansky <address@hidden> 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




reply via email to

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