* [Qemu-devel] Breaking up vl.h
@ 2007-11-17 17:13 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2007-11-17 17:13 UTC (permalink / raw)
To: qemu-devel
I just applied a patch that breaks up and removes vl.h
My strategy (as discussed previously) is to split the contents along
functional lines, and hardware split along bus/machine boundaries..
In order to avoid lots of little header files it makes fairly extensive use of
opaque structure pointers. This allows e.g. network and display controllers
to be prototyped in the same header without requiring all users to include
net.h and console.h.
It's not perfect, but I'm reasonably happy with how it ended up. There's some
scope for splitting things up further, but I tended to err on the size of a
few big includes.
Paul
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-17 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-17 17:13 [Qemu-devel] Breaking up vl.h Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).