From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0fFL-0001Gk-Rs for qemu-devel@nongnu.org; Thu, 23 Feb 2012 15:26:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0fFK-0000fl-HH for qemu-devel@nongnu.org; Thu, 23 Feb 2012 15:26:35 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]:60149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0fFK-0000fd-7M for qemu-devel@nongnu.org; Thu, 23 Feb 2012 15:26:34 -0500 Received: by dadp14 with SMTP id p14so1976039dad.4 for ; Thu, 23 Feb 2012 12:26:32 -0800 (PST) Sender: fluxion From: Michael Roth Date: Thu, 23 Feb 2012 14:22:20 -0600 Message-Id: <1330028546-13183-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/6] add fixed-width visitors and serialization tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com These patches apply on top of qemu.git master, and can also be obtained from: git://github.com/mdroth/qemu.git visitor-fixed-width-v2 CHANGES SINCE V1: - unit tests: covert QmpOutputVisitor qobject to json before passing it to QmpInputVisitor*. I.e., actually do the serialization :) - QmpInputVisitor, add handling for when a serialized QFloat gets read back as a QInt - unit tests: add coverage for String visitor - StringOutputVisitor: use %f for float representation 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 to verify their usability/capabilities for data serialization.