[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-devel
Subject:    Re: [Qemu-devel] [RfC PATCH 0/2] usb: reorganize source files.
From:       Gerd Hoffmann <kraxel () redhat ! com>
Date:       2012-03-09 6:50:46
Message-ID: 4F59A846.9080300 () redhat ! com
[Download RAW message or body]

  Hi,

> For another, dev-foo.c is not natural English for a certain type of
> device - foo-dev.c would be better but I'd prefer without "dev", i.e.,
> hw/usb/{audio,ccid,...}.c. And then of course only devices should go
> into hw/.

I want a prefix because with prefixing you get the files nicely grouped
in directory listings, without creating another directory level, which
would IMHO be overkill for the number of files we have here.

'dev-*' is used for emulated usb devices (mouse, stick, ...), 'hcd-*' is
used for emulated usb host adapters (uhci, ehci, ...), 'host-*' is used
for host device pass-through code.

'dev-' isn't the greated pick as it is somewhat generic indeed.  I've
also considered 'emu-' (to contrast with host-*), but it has pretty much
the same issue.  Other suggestions?

cheers,
  Gerd

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic