On 2011-07-25 14:05, Peter Maydell wrote: > On 25 July 2011 12:48, Peter Maydell <peter.mayd...@linaro.org> wrote: >> For ARM you absolutely should not be relying on the default >> machine type (not least because it's an incredibly ancient >> dev board which nobody uses any more). An ARM kernel is >> generally fairly specific to the hardware platform being >> emulated, so you should know which machine you're intending >> to run on and specify it explicitly. > > In fact having thought about it a bit I'm going to go further > and say that the whole idea of a "default machine" is a rather > x86-centric idea -- most architectures don't really have a > single machine type that's used by just about everybody, > always has been, and isn't likely to become obsolete in the > future. So if we're reworking the command line API to > supersede "-M" then we shouldn't have a default at all.
Then you may want to drop is_default = 1 from integratorcp and prepare the main loop to face a NULL machine. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux