[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: Support explicit targets for PowerP
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: Support explicit targets for PowerPC |
Date: |
Tue, 7 Nov 2017 07:57:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
Le 07/11/2017 à 03:50, Aaron Sierra a écrit :
> Enable building PowerPC targets supporting a specific CPU, without
> having to set QEMU_CPU via the environment. For example these build
> targets (and many more) become available:
>
> qemu-ppc.e500mc
> qemu-ppc.e500v2
> qemu-ppc.e5500
> qemu-ppc.e600
> qemu-ppc.e6500
>
> These (statically compiled) binaries have proven useful for emulating
> PowerPC CPUs within Docker containers, where it's hard to reliably
> define environment variables that are available for every process.
I agree with you.
I have patches to do that for years, perhaps we can merge our both
solutions to have something working:
linux-user: define default cpu model in configure instead of
linux-user/main.c
https://github.com/vivier/qemu-m68k/commit/1488df8c9fa3a5b099bbc4f41c077a6c69305cc2
linux-user: specify the cpu model during configure
https://github.com/vivier/qemu-m68k/commit/496f804fd97d5f0ef26da1090e1d95ad15bcc50e
The part missing in my series is to rename the qemu binaries with the
suffix of the default CPU.
Thanks,
Laurent
Re: [Qemu-devel] [PATCH] linux-user: Support explicit targets for PowerPC, no-reply, 2017/11/10