This series of patch allows to set the default CPU used by linux-user qemu.
When qemu is used in a container as a binfmt interpreter we can't use the environment variable QEMU_CPU to set the CPU id. The two last patches allows to display the default CPU id when "-cpu ?" is used. Only two archs are updated as examples : arm and m68k. Laurent Vivier (4): linux-user: define default cpu model in configure instead of linux-user/main.c linux-user: specify the cpu model during configure linux-user,m68k: display default cpu linux-user,arm: display default cpu configure | 23 +++++++++++++++++++++++ linux-user/main.c | 36 +----------------------------------- target-arm/helper.c | 5 +++++ target-m68k/helper.c | 5 +++++ 4 files changed, 34 insertions(+), 35 deletions(-) -- 1.8.1.2