qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] arm_gic: convert to vmstate
@ 2013-03-22 18:02 Peter Maydell
  2013-03-22 18:02 ` [Qemu-devel] [PATCH v3 1/3] vmstate: Add support for two dimensional arrays Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peter Maydell @ 2013-03-22 18:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: Igor Mitsyanko, Gerd Hoffmann, Andreas Färber, patches

Convert the arm_gic save/load support from hand-coded save/load functions
to use VMState. This seems like a good thing to do before we get to the
point with KVM/ARM that we need to start supporting between-version
migration...

Changes v2->v3:
 * implement 2D array support in vmstate.h so we don't need to abuse
   VMSTATE_BUFFER_UNSAFE in a way that probably won't work for 16 bit
   values when source and destination have different endianness

Changes v1->v2:
 * fix true/false mixup that stopped armv7m from booting

Peter Maydell (3):
  vmstate: Add support for two dimensional arrays
  arm_gic: Fix sizes of state fields in preparation for vmstate support
  hw/arm_gic_common: Use vmstate struct rather than save/load functions

 hw/arm_gic_common.c         |  112 +++++++++++++++++--------------------------
 hw/arm_gic_internal.h       |   42 ++++++++--------
 hw/armv7m_nvic.c            |    4 +-
 include/migration/vmstate.h |   27 +++++++++++
 4 files changed, 93 insertions(+), 92 deletions(-)

-- 
1.7.9.5

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

end of thread, other threads:[~2013-03-22 19:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22 18:02 [Qemu-devel] [PATCH v3 0/3] arm_gic: convert to vmstate Peter Maydell
2013-03-22 18:02 ` [Qemu-devel] [PATCH v3 1/3] vmstate: Add support for two dimensional arrays Peter Maydell
2013-03-22 19:20   ` Igor Mitsyanko
2013-03-22 18:02 ` [Qemu-devel] [PATCH v3 2/3] arm_gic: Fix sizes of state fields in preparation for vmstate support Peter Maydell
2013-03-22 18:02 ` [Qemu-devel] [PATCH v3 3/3] hw/arm_gic_common: Use vmstate struct rather than save/load functions Peter Maydell
2013-03-22 19:35   ` Igor Mitsyanko

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