From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bz1yj-0002LU-33 for qemu-devel@nongnu.org; Tue, 25 Oct 2016 09:41:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bz1yd-00038i-Fw for qemu-devel@nongnu.org; Tue, 25 Oct 2016 09:41:21 -0400 From: Markus Armbruster References: <1475246744-29302-1-git-send-email-berrange@redhat.com> <1475246744-29302-5-git-send-email-berrange@redhat.com> Date: Tue, 25 Oct 2016 15:41:07 +0200 In-Reply-To: <1475246744-29302-5-git-send-email-berrange@redhat.com> (Daniel P. Berrange's message of "Fri, 30 Sep 2016 15:45:27 +0100") Message-ID: <871sz4zguk.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v14 04/21] qapi: rename QmpInputVisitor to QObjectInputVisitor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz , Paolo Bonzini , Andreas =?utf-8?Q?F=C3=A4rber?= "Daniel P. Berrange" writes: > The QmpInputVisitor has no direct dependency on QMP. It is > valid to use it anywhere that one has a QObject. Rename it > to better reflect its functionality as a generic QObject > to QAPI converter. > > Reviewed-by: Kevin Wolf > Reviewed-by: Eric Blake > Signed-off-by: Daniel P. Berrange > --- > docs/qapi-code-gen.txt | 2 +- > ...qmp-input-visitor.h => qobject-input-visitor.h} | 10 +- > include/qapi/visitor.h | 6 +- > monitor.c | 2 +- > qapi/Makefile.objs | 2 +- > ...qmp-input-visitor.c => qobject-input-visitor.c} | 171 +++++++++++---------- > qmp.c | 4 +- > qom/qom-qobject.c | 4 +- > scripts/qapi-commands.py | 4 +- > target-s390x/cpu_models.c | 4 +- > tests/.gitignore | 4 +- > tests/Makefile.include | 12 +- > tests/check-qnull.c | 4 +- > tests/test-qmp-commands.c | 4 +- > ...-input-strict.c => test-qobject-input-strict.c} | 6 +- > ...nput-visitor.c => test-qobject-input-visitor.c} | 6 +- > tests/test-string-input-visitor.c | 2 +- > tests/test-visitor-serialization.c | 4 +- > util/qemu-sockets.c | 2 +- > 19 files changed, 128 insertions(+), 125 deletions(-) > rename include/qapi/{qmp-input-visitor.h => qobject-input-visitor.h} (63%) > rename qapi/{qmp-input-visitor.c => qobject-input-visitor.c} (56%) > rename tests/{test-qmp-input-strict.c => test-qobject-input-strict.c} (98%) > rename tests/{test-qmp-input-visitor.c => test-qobject-input-visitor.c} (99%) Here, git detects the rename, barely. I'll split this patch anyway, for symmetry.