The new features are going to be used in next series (virtio port to vmstate). I just sent it because the cleanups were needed for other people. This patch is on top of my audio vmstate changes series (but it should be independent).
- fseek + migration has stopped working, just read to a local buffer (Jan). - macaddr: brown paper bug (Jan fixed it) - We add support for test function in more types. - qdev: fix vmstate_unregister call now that it has the right type. - port all devices that don't need changes to qdev.vmsd (patch is largish, but it is very easy). - multiply by a constant: this is needed for unsafe buffers, where we have the number of elements, not the full size of the buffer. You can get it at: http://repo.or.cz/w/qemu/quintela.git/shortlog/refs/heads/vmstate/cleanup Later, Juan. Jan Kiszka (1): vmstate: Fix info field of VMSTATE_MACADDR Juan Quintela (11): vmstate: Avoid seeking vmstate: fix missing ARRAY_OF_POINTERS support on save state vmstate: Add support for VBUFFERS vmstate: Introduce VMSTATE_STRUCT_TEST vmstate: Introduce VMSTATE_STRUCT_POINTER_TEST vmstate: Introduce UINT16_TEST support vmstate: remove usused VMSTATE_STRUCT_ARRAY_SIZE_UINT8 vmstate: Add support for multiplying size for a constant pci: vmstate_register() already assign consecutive numbers starting at 0 qdev: enable vmstate_unregister() support savevm: Port to qdev.vmsd all devices that have qdev hw/ac97.c | 2 +- hw/cirrus_vga.c | 2 +- hw/cs4231a.c | 2 +- hw/e1000.c | 4 +-- hw/es1370.c | 2 +- hw/gus.c | 2 +- hw/hw.h | 82 +++++++++++++++++++++++++++++++++++++--------------- hw/lance.c | 14 ++++++++- hw/lm832x.c | 2 +- hw/lsi53c895a.c | 2 +- hw/max7310.c | 2 +- hw/ne2000-isa.c | 12 +++++++- hw/ne2000.c | 3 +- hw/pci.c | 4 +-- hw/pckbd.c | 13 ++++++++- hw/pcnet.c | 4 +-- hw/piix_pci.c | 4 +- hw/qdev.c | 2 - hw/rtl8139.c | 4 +-- hw/sb16.c | 2 +- hw/ssd0303.c | 2 +- hw/tmp105.c | 2 +- hw/twl92230.c | 2 +- hw/usb-uhci.c | 3 +- hw/vga-pci.c | 2 +- hw/vmware_vga.c | 2 +- hw/wdt_i6300esb.c | 3 +- hw/wdt_ib700.c | 2 +- hw/wm8750.c | 2 +- savevm.c | 49 ++++++++++++++++++++++++++------ 30 files changed, 159 insertions(+), 74 deletions(-)