[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/3] arm_gic: convert to vmstate
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH v3 0/3] arm_gic: convert to vmstate |
Date: |
Fri, 22 Mar 2013 18:02:52 +0000 |
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
- [Qemu-devel] [PATCH v3 0/3] arm_gic: convert to vmstate,
Peter Maydell <=