"Daniel P. Berrange" <[email protected]> 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 <[email protected]> > Reviewed-by: Eric Blake <[email protected]> > Signed-off-by: Daniel P. Berrange <[email protected]> > --- > 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.
