On 2/11/09, Amit Shah <address@hidden> wrote:
This patch series adds support for out-of-code cpu definitions. This helps
us move the definitions out of target-i386/helper.c. The result is we can
store the definitions in plain-text; add, modify the definitions without
having to recompile and most importantly, some management servers can
define their own CPU types based on the network topology to create
migration-safe cpu types.
The first patch in the series was sent earlier, just converts the usage of
bios_dir to get_datafile_dir(), as the path that's referred to stores more
than just the bios (keymaps, and now, the cpudefs).
The cpudef file currently is very similar to the code that was in helper.c.
Comments welcome on the format.
Instead of this change, IMHO we should wait for either the
configuration file format to be fixed, or use FDT for all HW
definitions. This format is not generic enough, definitely not
suitable for Sparc CPU features. But if the config or FDT does not
appear, we could use this as a starting point.