qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] linux-user: A serie of patches to set default CPU
@ 2012-01-22 12:27 Laurent Vivier
  2012-01-22 12:27 ` [Qemu-devel] [PATCH 1/4] linux-user: define default cpu model in configure instead of linux-user/main.c Laurent Vivier
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Laurent Vivier @ 2012-01-22 12:27 UTC (permalink / raw)
  To: qemu-devel

This serie of patches has already been sent, more or less, several time,
last time in july 2011.

For chrooted environment, it allows to define the default cpu model as we can't use '-cpu' argument.

For instance:

 ./configure --target-list=m68k-linux-user,arm-linux-user \
                   --m68k-default-cpu=m5206 --arm-default-cpu=sa1100
  ./m68k-linux-user/qemu-m68k -cpu ?
 >m5206
  m5208
  cfv4e
  any
 ./arm-linux-user/qemu-arm -cpu ?
Available CPUs:
  arm926
  arm946
  arm1026
  arm1136
  arm1136-r2
  arm1176
  arm11mpcore
  cortex-m3
  cortex-a8
  cortex-a9
  ti925t
  pxa250
 >sa1100
  sa1110
  pxa255
  pxa260
  pxa261
  pxa262
  pxa270
  pxa270-a0
  pxa270-a1
  pxa270-b0
  pxa270-b1
  pxa270-c0
  pxa270-c5
  any

[PATCH 1/4] linux-user: define default cpu model in configure
[PATCH 2/4] linux-user: specify the cpu model during configure
[PATCH 3/4] linux-user,m68k: display default cpu
[PATCH 4/4] linux-user,arm: display default cpu

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [Qemu-devel] [PATCH 0/4] Define default CPU at configure time
@ 2013-09-06 20:47 Laurent Vivier
  2013-09-06 20:47 ` [Qemu-devel] [PATCH 4/4] linux-user,arm: display default cpu Laurent Vivier
  0 siblings, 1 reply; 8+ messages in thread
From: Laurent Vivier @ 2013-09-06 20:47 UTC (permalink / raw)
  To: Riku Voipio; +Cc: qemu-devel, Laurent Vivier

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-09-06 20:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-22 12:27 [Qemu-devel] [PATCH 0/4] linux-user: A serie of patches to set default CPU Laurent Vivier
2012-01-22 12:27 ` [Qemu-devel] [PATCH 1/4] linux-user: define default cpu model in configure instead of linux-user/main.c Laurent Vivier
2012-01-22 12:27 ` [Qemu-devel] [PATCH 2/4] linux-user: specify the cpu model during configure Laurent Vivier
2012-01-22 12:27 ` [Qemu-devel] [PATCH 3/4] linux-user,m68k: display default cpu Laurent Vivier
2012-01-22 12:27 ` [Qemu-devel] [PATCH 4/4] linux-user,arm: " Laurent Vivier
2012-01-31 20:01 ` [Qemu-devel] [PATCH 0/4] linux-user: A serie of patches to set default CPU Riku Voipio
2012-01-31 22:27   ` Laurent Vivier
  -- strict thread matches above, loose matches on Subject: below --
2013-09-06 20:47 [Qemu-devel] [PATCH 0/4] Define default CPU at configure time Laurent Vivier
2013-09-06 20:47 ` [Qemu-devel] [PATCH 4/4] linux-user,arm: display default cpu Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).