From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFnWY-0005pi-H6 for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFnWT-0005o0-4U for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:33 -0500 Received: from [199.232.76.173] (port=50852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFnWS-0005nv-R2 for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:28430) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFnWS-0002An-Am for qemu-devel@nongnu.org; Wed, 02 Dec 2009 06:37:28 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB2BbQuA012966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Dec 2009 06:37:27 -0500 From: Juan Quintela Date: Wed, 2 Dec 2009 12:36:34 +0100 Message-Id: Subject: [Qemu-devel] [PATCH 00/12] vmstate cleanups and fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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(-)