[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 00/16] Preliminary patches for subproject split
From: |
marcandre . lureau |
Subject: |
[PATCH v3 00/16] Preliminary patches for subproject split |
Date: |
Wed, 10 Aug 2022 16:48:41 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Hi,
Here is another subset of the large "subproject(qga)" series I intend to send
soon after (https://gitlab.com/marcandre.lureau/qemu/-/commits/qga).
Thanks
v3:
- use overriable qmp_dispatch_exec() stub, instead of extra callback
- qapi-gen "-i file.h" will always generate '#include "file.h"' now
- improve mtest2make.py subproject tests handling
- add r-b tags
v2:
- drop error_init() callbacks, use static library symbol override instead
- include a few patches from the rest of the series to introduce qemu-common
subproject
Marc-André Lureau (16):
error-report: misc comment fix
error-report: introduce "detailed" variable
error-report: simplify print_loc()
error-report: introduce overridable error_is_detailed()
stubs: remove needless error_vprintf_unless_qmp()
qapi: move QEMU-specific dispatch code in monitor
qapi: remove QEMU-specific monitor dependency from dispatch
scripts/qapi-gen: add -i option
scripts/qapi: add required system includes to visitor
util: move 256-by-128 division helpers to int128
qemu-common: introduce a common subproject
qemu-common: move scripts/qapi
qemu-common: move glib-compat.h
qemu-common: move error-report
mtest2make.py: teach suite name that are just "PROJECT"
qemu-common: add error-report test
docs/conf.py | 2 +-
meson.build | 28 +--
include/qapi/qmp/dispatch.h | 6 +-
include/qemu/host-utils.h | 3 -
include/qemu/int128.h | 3 +
.../qemu-common/include}/glib-compat.h | 4 +-
.../qemu-common/include}/qemu/error-report.h | 4 +
.../qemu-common/include}/qemu/help-texts.h | 0
monitor/qmp.c | 64 +++++++
qapi/qmp-dispatch.c | 62 +-----
softmmu/vl.c | 5 +
stubs/qmp-dispatch-exec.c | 8 +
.../qemu-common/src/error-is-detailed.c | 6 +
.../qemu-common/src}/error-report.c | 20 +-
.../qemu-common/src/error-vprintf.c | 10 +-
.../qemu-common/tests/test-error-report.c | 120 ++++++++++++
util/host-utils.c | 180 ------------------
util/int128.c | 180 ++++++++++++++++++
MAINTAINERS | 4 +-
scripts/mtest2make.py | 9 +-
stubs/meson.build | 2 +-
subprojects/libvduse/meson.build | 2 +
subprojects/libvduse/subprojects/qemu-common | 1 +
subprojects/libvhost-user/meson.build | 2 +
.../libvhost-user/subprojects/qemu-common | 1 +
subprojects/qemu-common/meson.build | 26 +++
subprojects/qemu-common/scripts/meson.build | 3 +
.../qemu-common/scripts}/qapi-gen.py | 0
.../qemu-common/scripts}/qapi/.flake8 | 0
.../qemu-common/scripts}/qapi/.isort.cfg | 0
.../qemu-common/scripts}/qapi/__init__.py | 0
.../qemu-common/scripts}/qapi/commands.py | 15 +-
.../qemu-common/scripts}/qapi/common.py | 0
.../qemu-common/scripts}/qapi/error.py | 0
.../qemu-common/scripts}/qapi/events.py | 17 +-
.../qemu-common/scripts}/qapi/expr.py | 0
.../qemu-common/scripts}/qapi/gen.py | 15 ++
.../qemu-common/scripts}/qapi/introspect.py | 11 +-
.../qemu-common/scripts}/qapi/main.py | 17 +-
.../qemu-common/scripts/qapi/meson.build | 16 ++
.../qemu-common/scripts}/qapi/mypy.ini | 0
.../qemu-common/scripts}/qapi/parser.py | 0
.../qemu-common/scripts}/qapi/pylintrc | 0
.../qemu-common/scripts}/qapi/schema.py | 0
.../qemu-common/scripts}/qapi/source.py | 0
.../qemu-common/scripts}/qapi/types.py | 17 +-
.../qemu-common/scripts}/qapi/visit.py | 19 +-
subprojects/qemu-common/src/meson.build | 5 +
subprojects/qemu-common/tests/meson.build | 12 ++
tests/qapi-schema/meson.build | 2 +-
util/meson.build | 2 +-
51 files changed, 579 insertions(+), 324 deletions(-)
rename {include => subprojects/qemu-common/include}/glib-compat.h (97%)
rename {include => subprojects/qemu-common/include}/qemu/error-report.h (97%)
rename {include => subprojects/qemu-common/include}/qemu/help-texts.h (100%)
create mode 100644 stubs/qmp-dispatch-exec.c
create mode 100644 subprojects/qemu-common/src/error-is-detailed.c
rename {util => subprojects/qemu-common/src}/error-report.c (96%)
rename stubs/error-printf.c => subprojects/qemu-common/src/error-vprintf.c
(64%)
create mode 100644 subprojects/qemu-common/tests/test-error-report.c
create mode 120000 subprojects/libvduse/subprojects/qemu-common
create mode 120000 subprojects/libvhost-user/subprojects/qemu-common
create mode 100644 subprojects/qemu-common/meson.build
create mode 100644 subprojects/qemu-common/scripts/meson.build
rename {scripts => subprojects/qemu-common/scripts}/qapi-gen.py (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/.flake8 (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/.isort.cfg (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/__init__.py (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/commands.py (96%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/common.py (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/error.py (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/events.py (95%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/expr.py (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/gen.py (96%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/introspect.py (97%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/main.py (85%)
create mode 100644 subprojects/qemu-common/scripts/qapi/meson.build
rename {scripts => subprojects/qemu-common/scripts}/qapi/mypy.ini (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/parser.py (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/pylintrc (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/schema.py (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/source.py (100%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/types.py (96%)
rename {scripts => subprojects/qemu-common/scripts}/qapi/visit.py (96%)
create mode 100644 subprojects/qemu-common/src/meson.build
create mode 100644 subprojects/qemu-common/tests/meson.build
--
2.37.1
- [PATCH v3 00/16] Preliminary patches for subproject split,
marcandre . lureau <=
- [PATCH v3 01/16] error-report: misc comment fix, marcandre . lureau, 2022/08/10
- [PATCH v3 02/16] error-report: introduce "detailed" variable, marcandre . lureau, 2022/08/10
- [PATCH v3 03/16] error-report: simplify print_loc(), marcandre . lureau, 2022/08/10
- [PATCH v3 04/16] error-report: introduce overridable error_is_detailed(), marcandre . lureau, 2022/08/10
- [PATCH v3 05/16] stubs: remove needless error_vprintf_unless_qmp(), marcandre . lureau, 2022/08/10
- [PATCH v3 06/16] qapi: move QEMU-specific dispatch code in monitor, marcandre . lureau, 2022/08/10
- [PATCH v3 07/16] qapi: remove QEMU-specific monitor dependency from dispatch, marcandre . lureau, 2022/08/10
- [PATCH v3 08/16] scripts/qapi-gen: add -i option, marcandre . lureau, 2022/08/10
- [PATCH v3 13/16] qemu-common: move glib-compat.h, marcandre . lureau, 2022/08/10
- [PATCH v3 16/16] qemu-common: add error-report test, marcandre . lureau, 2022/08/10