qemu-devel@nongnu.org
[Top] [All Lists]

Re: [Qemu-devel] [PATCH] Move block format drivers to new directory 'bdr

Subject: Re: [Qemu-devel] [PATCH] Move block format drivers to new directory 'bdrv'
From: Anthony Liguori
Date: Sun, 26 Apr 2009 12:44:12 -0500
Blue Swirl wrote:
On 4/26/09, Avi Kivity <avi@xxxxxxxxxx> wrote:
Blue Swirl wrote:

Taking one step further, why not introduce directories similar to
VirtualBox:
http://www.virtualbox.org/browser/trunk/src/VBox



 No objection, but let's go one step at a time.

Yes, but it's good to see the big picture.

So the new 'host' directory would be like:

.
|-- audio
|-- block
|-- bluetooth
|-- crypto
|-- net
|   `-- slirp
|-- parport
|-- scsi
|-- serial
|-- usb
`-- video

There's an awful lot of code refactoring needed before such a layout would make sense. In general, I think until there are at least 3 files in the form something-foo.c, it doesn't make sense to convert to something/foo.c

Regards,

Anthony Liguori

audio and slirp are current directories. SDL and VNC go to video, aes
and d3des to crypto.





<Prev in Thread] Current Thread [Next in Thread>