From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOmHq-0007rQ-5d for qemu-devel@nongnu.org; Mon, 10 Aug 2015 08:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOmHp-0005EU-Ai for qemu-devel@nongnu.org; Mon, 10 Aug 2015 08:34:42 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOmHp-0005Aj-4B for qemu-devel@nongnu.org; Mon, 10 Aug 2015 08:34:41 -0400 From: Peter Maydell Date: Mon, 10 Aug 2015 13:34:28 +0100 Message-Id: <1439210072-11028-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/4] target-sparc: Update to use VMStateDescription List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , Mark Cave-Ayland , =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org 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