Re: [Qemu-devel] [RfC PATCH 1/2] usb: the big rename

2012-03-09 Thread Paolo Bonzini
Il 08/03/2012 10:16, Gerd Hoffmann ha scritto: Reorganize usb source files. Create a new hw/usb/ directory and move all usb source code to that place. Also make filenames a bit more descriptive. Host adapters are prefixed with hch- now Nice tribute to Christoph, but I think I prefer hcd- as

Re: [Qemu-devel] [RfC PATCH 1/2] usb: the big rename

2012-03-09 Thread Paolo Bonzini
Il 09/03/2012 09:42, Gerd Hoffmann ha scritto: emulations are prefixed with dev-. Fixup paths Makefile and include paths to make it compile. No code changes. Let's start using include/usb instead? I think that needs a few more cleanups beforehand, there is a single usb.h now, guess I

Re: [Qemu-devel] [RfC PATCH 1/2] usb: the big rename

2012-03-09 Thread Gerd Hoffmann
Hi, emulations are prefixed with dev-. Fixup paths Makefile and include paths to make it compile. No code changes. Let's start using include/usb instead? I think that needs a few more cleanups beforehand, there is a single usb.h now, guess I better should split that into usb-private and

Re: [Qemu-devel] [RfC PATCH 1/2] usb: the big rename

2012-03-09 Thread Gerd Hoffmann
Hi, As I understood it, the idea is to make it simply Linux-like, with public headers in include/ and private headers elsewhere. So even interfaces that are private to the USB layer, but shared among multiple directories would be in include/. I suppose the external interfaces are just

[Qemu-devel] [RfC PATCH 1/2] usb: the big rename

2012-03-08 Thread Gerd Hoffmann
Reorganize usb source files. Create a new hw/usb/ directory and move all usb source code to that place. Also make filenames a bit more descriptive. Host adapters are prefixed with hch- now, usb device emulations are prefixed with dev-. Fixup paths Makefile and include paths to make it compile.

Re: [Qemu-devel] [RfC PATCH 1/2] usb: the big rename

2012-03-08 Thread Alon Levy
On Thu, Mar 08, 2012 at 10:16:21AM +0100, Gerd Hoffmann wrote: Reorganize usb source files. Create a new hw/usb/ directory and move all usb source code to that place. Also make filenames a bit more descriptive. Host adapters are prefixed with hch- now, usb device emulations are prefixed