[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] add usb_detach and usb_attach (v3)
From: |
Alon Levy |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] add usb_detach and usb_attach (v3) |
Date: |
Thu, 11 Nov 2010 19:01:19 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Nov 11, 2010 at 04:03:14PM +0100, Markus Armbruster wrote:
[snip]
> Agree.
>
> Summary so far:
>
> 1. usb_{attach,detach} looks like yet another special-purpose command
> where a general command would make sense, namely
> device_{attach,detach}. We have a few of those, e.g. usb_add
> vs. device_add. I'd prefer not to add more, as far as practical.
>
> 2. We need chardev_add and chardev_del sooner rather than later.
>
> 3. Automatic deletion of host devices (character, block, net) gets in
> the way[*]. We need a way to suppress it.
>
> 4. If we have 2. and 3., we don't need 1.
>
> Fair?
Yes.
>
>
> [*] Funny coincidence: I just read Neil Brown's essay on the conflated
> design anti-pattern, http://lwn.net/Articles/412131/