This patchset cleans up and optimizes vmstate implementation. v1-v2 PATCH 4 now moves VMSTATE_UINTTL* macros to cpu-defs.h instead of to vmstate.h. put_target_ul/get_target_ul introduction is dropped. PATCH2,PATCH3 commit messages are rewritten a little bit. But I'm still not sure whether Andrzej Zaborowski agreed with these changes or not.
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/hw.h to cpu-defs.h. Patch 5 introduces mechanism to save variable-size buffers. Igor Mitsyanko (5): target-alpha/machine.c: use VMSTATE_UINT64* instead of VMSTATE_UINTTL* hw/pxa2xx_dma.c: drop target_phys_addr_t usage in device state hw/pxa2xx_lcd.c: drop target_phys_addr_t usage in device state vmstate: move VMSTATE_UINTTL* macros definitions to cpu-defs.h vmstate: introduce get_bufsize entry in VMStateField cpu-defs.h | 13 +++++++++++++ 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 | 18 ++++++++++++------ target-alpha/machine.c | 34 +++++++++++++++++----------------- vmstate.h | 43 ++++++++----------------------------------- 12 files changed, 96 insertions(+), 94 deletions(-) -- 1.7.4.1