From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axzzb-0007mn-Er for qemu-devel@nongnu.org; Wed, 04 May 2016 12:49:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axzzP-0000mt-Sp for qemu-devel@nongnu.org; Wed, 04 May 2016 12:49:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axzzP-0000jW-Oe for qemu-devel@nongnu.org; Wed, 04 May 2016 12:49:31 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 59F6464D00 for ; Wed, 4 May 2016 16:49:20 +0000 (UTC) From: Markus Armbruster Date: Wed, 4 May 2016 18:49:16 +0200 Message-Id: <1462380558-2030-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] migration: Move qjson.[ch] to migration/, clean up List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: dgilbert@redhat.com, eblake@redhat.com, quintela@redhat.com, amit.shah@redhat.com qjson.[ch] is a JSON writer used by migration. Eric proposed to replace it by common code in his "Add qapi-to-JSON and clone visitors" series. David's review led to the conclusion that migration would prefer to keep its own JSON writer, to better serve its requirements. PATCH 1 move it to its proper place, and explains why it exists in a bit more detail. PATCH 2 simplifies it a bit. Markus Armbruster (2): migration: Move qjson.[ch] to migration/ migration/qjson: Drop gratuitous use of QOM Makefile.objs | 1 - include/{ => migration}/qjson.h | 2 +- include/migration/vmstate.h | 2 +- migration/Makefile.objs | 1 + qjson.c => migration/qjson.c | 58 +++++++++++++++-------------------------- migration/savevm.c | 2 +- migration/vmstate.c | 1 - tests/Makefile | 2 +- 8 files changed, 26 insertions(+), 43 deletions(-) rename include/{ => migration}/qjson.h (95%) rename qjson.c => migration/qjson.c (70%) -- 2.5.5