On 08/25/2012 08:38 AM, 陳韋任 (Wei-Ren Chen) wrote:
I want to add a new guest architecture.

Is there any description of what the configuration options mean?

   You mean the options list in `../${QEMU_SRC}/configure --help`?
Not sure why you need to care about that.

In $QEMU_SRC/configure, architectures have these configuration options
(and several more):
    target_nptl="yes"
    target_phys_bits=32
    target_libs_softmmu="$fdt_libs"

In the target-*/cpu.h, there are defines like:

    #define TARGET_LONG_BITS 32
    #define TARGET_HAS_ICE 1
    #define TARGET_PAGE_BITS 12
    #define TARGET_PAGE_BITS 10
    #define TARGET_PHYS_ADDR_SPACE_BITS 40
    #define TARGET_VIRT_ADDR_SPACE_BITS 32

There are also required specification like CPUState or CPUArchState.

Is there any description of these configuration options?

>    I suggest you take a look on openrisc patchset [1], it's a relative
> new added guest support.
>
> [1] https://lists.gnu.org/archive/html/qemu-devel/2012-07/msg02567.html

Thanks.

--
Michael Eager    ea...@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077




Reply via email to