qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel][PATCH]Get machine name from name of executable


From: Stefan Weil
Subject: Re: [Qemu-devel][PATCH]Get machine name from name of executable
Date: Sun, 14 May 2006 15:30:22 +0200
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)

Hi,

ok, I think this plan is a good one. It might even be possible to run several different machines by starting a single QEMU emulation process. But you need some mechanism to tell QEMU which machine(s) to run. Of course, you could add new command line options. MIPS, for example, could select endianness automatically in user mode (from ELF format), but not in system mode when running a complete system with a firmware loader. So you need some way to tell QEMU that this is a MIPS CPU with a certain kind of endianness (the real CPU has a hardware input pin for this, we need something which replaces this
hardware input pin).

Did you think about using configuration files (XML, YAML, or any other format) with machine descriptions (CPU, CPU variant, endianness, network hardware, serial ports, other hardware features which are
compiled into the code or configured via command line options today)?

Regards
Stefan

Fabrice Bellard schrieb:

Hi,

The long term plan for qemu is to have a single executable for all machines. If you make a single executable for mips and mipsel, it is better to select the endianness in the code of the machine itself when initializing the CPU.

Regards,

Fabrice.





reply via email to

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