qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] target-sparc: Update to use VMStateDescription
@ 2015-08-10 12:34 Peter Maydell
  2015-08-10 12:34 ` [Qemu-devel] [PATCH 1/4] vmstate: introduce CPU_DoubleU arrays Peter Maydell
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Peter Maydell @ 2015-08-10 12:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: Blue Swirl, Mark Cave-Ayland, Andreas Färber, patches

This patchset updates target-sparc to use VMStateDescription
rather than hand-written save/load functions. (This and CRIS
are the last two targets still using the old approach.)

It's based on some patches from back in 2012 by Juan which
I've updated, rebased and made some tweaks to.

This is a migration compatibility break; we don't care about
cross-version migration on SPARC guests, and not having to
maintain the old wire format allows a cleaner vmstate
description in several ways.

NB that the 'split cpu_put_psr' patch seems to me to be a
bugfix in and of itself, since currently we might try to
call cpu_check_irqs() and deliver interrupts while we're
halfway through updating a PSR value...

Juan Quintela (2):
  vmstate: introduce CPU_DoubleU arrays
  target-sparc: Convert to VMStateDescription

Peter Maydell (2):
  target-sparc: Split cpu_put_psr into side-effect and no-side-effect
    parts
  target-sparc: Don't flush TLB in cpu_load function

 hw/sparc64/sun4u.c          |  20 ---
 include/migration/vmstate.h |   7 +
 migration/vmstate.c         |  23 +++
 target-sparc/cpu-qom.h      |   4 +
 target-sparc/cpu.c          |   1 +
 target-sparc/cpu.h          |   7 +-
 target-sparc/machine.c      | 360 ++++++++++++++++++++------------------------
 target-sparc/win_helper.c   |  19 ++-
 8 files changed, 210 insertions(+), 231 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2015-08-18 15:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 12:34 [Qemu-devel] [PATCH 0/4] target-sparc: Update to use VMStateDescription Peter Maydell
2015-08-10 12:34 ` [Qemu-devel] [PATCH 1/4] vmstate: introduce CPU_DoubleU arrays Peter Maydell
2015-08-10 12:34 ` [Qemu-devel] [PATCH 2/4] target-sparc: Split cpu_put_psr into side-effect and no-side-effect parts Peter Maydell
2015-08-10 12:34 ` [Qemu-devel] [PATCH 3/4] target-sparc: Don't flush TLB in cpu_load function Peter Maydell
2015-08-10 12:34 ` [Qemu-devel] [PATCH 4/4] target-sparc: Convert to VMStateDescription Peter Maydell
2015-08-18 15:15   ` Paolo Bonzini
2015-08-13 22:37 ` [Qemu-devel] [PATCH 0/4] target-sparc: Update to use VMStateDescription Mark Cave-Ayland
2015-08-14 10:55   ` Peter Maydell
2015-08-14 12:15   ` Artyom Tarasenko
2015-08-17 18:22     ` Mark Cave-Ayland
2015-08-18  8:55       ` Artyom Tarasenko

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