Received: from eggs.gnu.org ([140.186.70.92]:55216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S09F5-0007q9-U8 for qemu-devel@nongnu.org; Wed, 22 Feb 2012 05:16:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S09F1-0004ya-Rm for qemu-devel@nongnu.org; Wed, 22 Feb 2012 05:16:11 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:17679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S09F1-0004xq-ME for qemu-devel@nongnu.org; Wed, 22 Feb 2012 05:16:07 -0500 Received: from euspt2 (mailout1.w1.samsung.com [210.118.77.11]) by mailout1.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0LZS006Q3HUPGD@mailout1.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 22 Feb 2012 10:16:01 +0000 (GMT) Received: from dodo.rnd.samsung.ru ([106.109.8.162]) by spt2.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LZS000YXHUI73@spt2.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 22 Feb 2012 10:16:01 +0000 (GMT) Date: Wed, 22 Feb 2012 14:15:49 +0400 From: Igor Mitsyanko Message-id: <1329905754-11873-1-git-send-email-i.mitsyanko@samsung.com> MIME-version: 1.0 Content-type: TEXT/PLAIN Content-transfer-encoding: 7BIT Subject: [Qemu-devel] [PATCH 0/5] VMState cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, balrog@zabor.org, e.voevodin@samsung.com, quintela@redhat.com, kyungmin.park@samsung.com, d.solodkiy@samsung.com, m.kozlov@samsung.com, afaerber@suse.de This patchset cleans up and optimizes vmstate implementation. Patch 1 is a trivial bug fixing. Patches 2 and 3 replaces target_phys_addr_t in pxa implementation to uint32_t. Patch 4 moves VMSTATE_UINTTL from hw.h to vmstate.h. Explicit dependency on NEED_CPU_H is droped, I failed to understand why it was presented at all. Patch 5 introduces mechanism to save variable-size buffers. This already received plenty of discusion, but I still have not understand what was the final decision about it. Igor Mitsyanko (5): target-alpha/machine.c: use VMSTATE_UINT64* instead of VMSTATE_UINTTL* hw/pxa2xx_dma.c: drop VMSTATE_UINTTL usage hw/pxa2xx_lcd.c: drop VMSTATE_UINTTL usage vmstate: refactor and move VMSTATE_UINTTL* macro vmstate: introduce get_bufsize entry in VMStateField hw/exynos4210_uart.c | 10 ++++++++- hw/g364fb.c | 7 +++++- hw/hw.h | 19 ---------------- hw/m48t59.c | 7 +++++- hw/mac_nvram.c | 8 ++++++- hw/onenand.c | 7 +++++- hw/pxa2xx_dma.c | 12 +++++----- hw/pxa2xx_lcd.c | 12 +++++----- savevm.c | 39 +++++++++++++++++++++++++++++----- target-alpha/machine.c | 34 +++++++++++++++--------------- vmstate.h | 54 ++++++++++++++++------------------------------- 11 files changed, 115 insertions(+), 94 deletions(-) -- 1.7.4.1