From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHeA4-00040P-6y for qemu-devel@nongnu.org; Mon, 18 Mar 2013 13:47:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHeA1-0006jB-03 for qemu-devel@nongnu.org; Mon, 18 Mar 2013 13:47:52 -0400 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:33004 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHeA0-0006iG-QS for qemu-devel@nongnu.org; Mon, 18 Mar 2013 13:47:48 -0400 From: Peter Maydell Date: Mon, 18 Mar 2013 17:47:43 +0000 Message-Id: <1363628865-29390-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/2] arm_gic: convert to vmstate List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org 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 v1->v2: * fix true/false mixup that stopped armv7m from booting Peter Maydell (2): 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 | 113 +++++++++++++++++++------------------------------ hw/arm_gic_internal.h | 42 +++++++++--------- hw/armv7m_nvic.c | 4 +- 3 files changed, 67 insertions(+), 92 deletions(-) -- 1.7.9.5