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