qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Building QEMU with multiple CPU targets.


From: Stefan Weil
Subject: Re: [Qemu-devel] Building QEMU with multiple CPU targets.
Date: Mon, 08 Oct 2012 23:23:34 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

Am 08.10.2012 15:17, schrieb Andreas Färber:
Hi Peter,

Am 08.10.2012 08:39, schrieb Peter Crosthwaite:
Im currently investigating the possibility of building QEMU with
multiple CPU architectures active concurrently. That is, I have a
binary with both an target-arm and target-microblaze and wish to run
them as a heterogeneous multiprocessor platform.

If this works, it will also be possible to create a single
"qemu" executable for all system emulations.


Given the recent QOM development in making CPUs just another object,
shouldn't be possible with a bit of Makefile and configure rework to
build qemu-system-arm+microblaze and then create machine models
instantiating both CPU types?

Are the major complications here from either a Make or QOM perspective?
Neither. The major complication is cpu.h and the per-target functions it
defines/declares.

My CPUState refactoring was a step into that direction, to get a solid
QOM base class rather than macro contents inserted in the middle of the
CPUArchState struct.

Adding an entry for the guest endianess to the CPU state
is also needed when the emulated system includes
CPUs with different endianess. Today we have conditional
compilation based on TARGET_WORDS_BIGENDIAN.

Regards

Stefan




reply via email to

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