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: Jamie Lokier
Subject: Re: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto connect.
Date: Mon, 18 Aug 2008 19:56:13 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Javier Guerra wrote:
> 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).

I think that's more or less how udev is *supposed* to be used.
It's weird for a bit, then it makes sense.
Especially as it can integrate nicely with distro scripts, e.g.
for networking.

But HAL and PolicyKit etc. turn it all on its head and you soon get
lost in a twisty maze of configuration files.

-- Jamie




reply via email to

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