qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Support for out-of-code cpu definitions


From: Anthony Liguori
Subject: Re: [Qemu-devel] Support for out-of-code cpu definitions
Date: Wed, 11 Feb 2009 09:21:45 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Blue Swirl wrote:
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.

I agree. If you switch cpudef to FDT, that could provide an intermediate step between what we have today and a full machine description.

Regards,

Anthony Liguori






reply via email to

[Prev in Thread] Current Thread [Next in Thread]