From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0HQt-0005R2-Sw for qemu-devel@nongnu.org; Wed, 22 Feb 2012 14:01:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0HQp-0003Mc-UO for qemu-devel@nongnu.org; Wed, 22 Feb 2012 14:00:55 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:53751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0HQp-0003MO-MD for qemu-devel@nongnu.org; Wed, 22 Feb 2012 14:00:51 -0500 Received: by pbbro12 with SMTP id ro12so574106pbb.4 for ; Wed, 22 Feb 2012 11:00:50 -0800 (PST) Sender: fluxion From: Michael Roth Date: Wed, 22 Feb 2012 13:00:32 -0600 Message-Id: <1329937236-6449-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/3] add fixed-width visitors and serialization tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org These patches apply on top of qemu.git master, and can also be obtained from: git://github.com/mdroth/qemu.git visitor-fixed-width-v1 These patches add fixed-width visitor types and switches all qdev users over to them. We also add a test suite which covers these as well as does some sanity checking on Visitors which may be used in the future for serialization-type use-cases. I've also tried plugging in the new String-based visitors, but hit some test failures due to how they handle floating point so I've held off on those while I look into it more. That can be done in seperate patch though. hw/mc146818rtc.c | 7 - hw/qdev-addr.c | 4 +- hw/qdev-properties.c | 42 +-- qapi/qapi-visit-core.c | 139 ++++++++ qapi/qapi-visit-core.h | 16 + test-visitor-serialization.c | 718 ++++++++++++++++++++++++++++++++++++++++++ tests/Makefile | 6 +- 7 files changed, 897 insertions(+), 35 deletions(-)