qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/25] VMState port of all cpus
@ 2011-10-25 14:00 Juan Quintela
  2011-10-25 14:00 ` [Qemu-devel] [PATCH 01/25] vmstate: Fix VMSTATE_VARRAY_UINT32 Juan Quintela
                   ` (24 more replies)
  0 siblings, 25 replies; 39+ messages in thread
From: Juan Quintela @ 2011-10-25 14:00 UTC (permalink / raw)
  To: qemu-devel
  Cc: Huacai Chen, aliguori, Peter Maydell, Alexander Graf, Blue Swirl,
	Max Filippov, Michael Walle, Paul Brook, Edgar E. Iglesias,
	Aurelien Jarno, Richard Henderson

Hi

This series port all cpus to use vmstate.
- 1st patch is a fix of vmstate.
- I discussed the arm changes over irc with Peter, he agreed that some
  simplification could be good, but he didn't saw the patches O:-)
- mips: no pci chipset has been ported, so migration don't work there.
  I have embedded a couple of structs to improve vmstate checking.  Notice
  that they were always allocated, so there shouldn't be any problem.
- sparc: I changed the format a little bit to be able to use normal arrays.
- sparc: If we always send the whole register windows, we don't need
  VMSTATE_VARRAY_MULTIPLY.  As that array is quite big (520 elements), I am not
  sure what is best.
- cpsr_vmstate on arm: I am not sure if I could "abuse" uncached_cpsr for that
  purpose?

I have only tested on x86, for the rest, I double checked, but it is
possible that I missed something.  I expect all patches to be
integrated by Anthony in one go.  Architecture maintainers are CC'd
for an ACK/NACK/comments.

Please, review.

PD. Is there an easy way of creating this "CC" list of mail addresses,
    or the only way is to edit comments and write it by hand as I did?


CC: Alexander Graf <agraf@suse.de>
CC: Aurelien Jarno <aurelien@aurel32.net>
CC: Blue Swirl <blauwirbel@gmail.com>
CC: Edgar E. Iglesias <edgar.iglesias@gmail.com>
CC: Huacai Chen <zltjiangshi@gmail.com>
CC: Max Filippov <jcmvbkbc@gmail.com>
CC:  Michael Walle <michael@walle.cc>
CC: Michael Walle <michael@walle.cc>
CC: Paul Brook <paul@codesourcery.com>
CC: Peter Maydell <peter.maydell@linaro.org>
CC: Richard Henderson <rth@twiddle.net>

Juan Quintela (25):
  vmstate: Fix VMSTATE_VARRAY_UINT32
  vmstate: Simplify test for CPU_SAVE_VERSION
  vmstate: make all architectures export a way to migrate cpu's
  vmstate: unicore32 don't support cpu migration
  vmstate: use new cpu style for x86
  vmstate: use new style for lm32 cpus
  vmstate: make microblaze cpus not migrateable
  vmstate: port cris cpu to vmstate
  vmstate: machine.c is only compiled for !CONFIG_USER_ONLY
  vmstate: introduce float32 arrays
  vmstate: introduce float64 arrays
  vmstate: Introduce VMSTATE_STRUCT_VARRAY_INT32_TEST
  vmstate: port ppc cpu
  vmstate: introduce VMSTATE_VARRAY_MULTIPLY
  vmstate: define vmstate_info_uinttls
  vmstate: port sparc cpu
  vmstate: make incompatible change for sparc
  mips_fulong2e: cpu vmstate already registered in cpu_exec_init
  mips: make mvp an embedded struct instead of pointer
  mips: make tlb an embedded struct instead of a pointer
  mips: bump migration version to 4
  vmstate: port mips cpu
  arm: save always 32 fpu registers
  vmstate: port arm cpu
  vmstate: all cpus converted

 exec.c                       |    7 +-
 hw/hw.h                      |   34 +++
 hw/mips_fulong2e.c           |    1 -
 hw/mips_malta.c              |    4 +-
 hw/mips_timer.c              |    2 +-
 hw/sun4u.c                   |   20 --
 qemu-common.h                |    4 -
 savevm.c                     |   68 ++++++
 target-alpha/machine.c       |   12 +-
 target-arm/cpu.h             |    4 +-
 target-arm/machine.c         |  350 +++++++++++++------------------
 target-cris/cpu.h            |   13 +-
 target-cris/machine.c        |  138 +++++--------
 target-i386/cpu.h            |    2 -
 target-i386/machine.c        |   14 +-
 target-lm32/cpu.h            |    2 -
 target-lm32/machine.c        |   14 +-
 target-m68k/machine.c        |   10 +
 target-microblaze/cpu.h      |    2 -
 target-microblaze/machine.c  |   15 +-
 target-mips/cpu.h            |   10 +-
 target-mips/helper.c         |   30 ++-
 target-mips/machine.c        |  468 ++++++++++++++++-------------------------
 target-mips/op_helper.c      |   70 ++++---
 target-mips/translate.c      |   22 ++-
 target-mips/translate_init.c |   36 ++--
 target-ppc/cpu.h             |    4 +-
 target-ppc/machine.c         |  253 ++++++++---------------
 target-s390x/machine.c       |   14 +-
 target-sh4/machine.c         |   10 +
 target-sparc/cpu.h           |    8 +-
 target-sparc/machine.c       |  328 +++++++++++------------------
 target-unicore32/cpu.h       |    2 -
 target-xtensa/machine.c      |   14 +-
 34 files changed, 852 insertions(+), 1133 deletions(-)

-- 
1.7.6.4

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

end of thread, other threads:[~2011-10-31 19:44 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-25 14:00 [Qemu-devel] [PATCH 00/25] VMState port of all cpus Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 01/25] vmstate: Fix VMSTATE_VARRAY_UINT32 Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 02/25] vmstate: Simplify test for CPU_SAVE_VERSION Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 03/25] vmstate: make all architectures export a way to migrate cpu's Juan Quintela
2011-10-25 15:33   ` Andreas Färber
2011-10-25 15:50     ` Juan Quintela
2011-10-25 20:41       ` Andreas Färber
2011-10-25 17:55   ` Max Filippov
2011-10-25 17:58   ` Richard Henderson
2011-10-25 19:02   ` Michael Walle
2011-10-25 14:00 ` [Qemu-devel] [PATCH 04/25] vmstate: unicore32 don't support cpu migration Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 05/25] vmstate: use new cpu style for x86 Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 06/25] vmstate: use new style for lm32 cpus Juan Quintela
2011-10-25 19:02   ` Michael Walle
2011-10-25 14:00 ` [Qemu-devel] [PATCH 07/25] vmstate: make microblaze cpus not migrateable Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 08/25] vmstate: port cris cpu to vmstate Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 09/25] vmstate: machine.c is only compiled for !CONFIG_USER_ONLY Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 10/25] vmstate: introduce float32 arrays Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 11/25] vmstate: introduce float64 arrays Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 12/25] vmstate: Introduce VMSTATE_STRUCT_VARRAY_INT32_TEST Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 13/25] vmstate: port ppc cpu Juan Quintela
2011-10-30 16:36   ` Alexander Graf
2011-10-31 19:43     ` Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 14/25] vmstate: introduce VMSTATE_VARRAY_MULTIPLY Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 15/25] vmstate: define vmstate_info_uinttls Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 16/25] vmstate: port sparc cpu Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 17/25] vmstate: make incompatible change for sparc Juan Quintela
2011-10-25 20:30   ` Blue Swirl
2011-10-25 14:00 ` [Qemu-devel] [PATCH 18/25] mips_fulong2e: cpu vmstate already registered in cpu_exec_init Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 19/25] mips: make mvp an embedded struct instead of pointer Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 20/25] mips: make tlb an embedded struct instead of a pointer Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 21/25] mips: bump migration version to 4 Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 22/25] vmstate: port mips cpu Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 23/25] arm: save always 32 fpu registers Juan Quintela
2011-10-25 14:00 ` [Qemu-devel] [PATCH 24/25] vmstate: port arm cpu Juan Quintela
2011-10-25 18:27   ` Paul Brook
2011-10-25 19:08     ` Richard Henderson
2011-10-25 20:39       ` Paul Brook
2011-10-25 14:00 ` [Qemu-devel] [PATCH 25/25] vmstate: all cpus converted Juan Quintela

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).