[Qemu-devel] [PULL 00/18] QAPI patches for 2019-02-18

Markus Armbruster posted 18 patches 5 years, 2 months ago
Test asan passed
Test docker-clang@ubuntu failed
Test docker-mingw@fedora passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190218140607.31998-1-armbru@redhat.com
Maintainers: David Hildenbrand <david@redhat.com>, Michael Roth <mdroth@linux.vnet.ibm.com>, Christian Borntraeger <borntraeger@de.ibm.com>, David Gibson <david@gibson.dropbear.id.au>, Paolo Bonzini <pbonzini@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Halil Pasic <pasic@linux.ibm.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Richard Henderson <rth@twiddle.net>, Eric Blake <eblake@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Markus Armbruster <armbru@redhat.com>
.gitignore                               |   1 +
Makefile                                 |   2 +-
Makefile.objs                            |  17 +-
Makefile.target                          |   1 +
docs/devel/qapi-code-gen.txt             |  82 ++++-
hw/ppc/spapr_rtc.c                       |   2 +-
hw/s390x/s390-skeys.c                    |   2 +-
hw/timer/mc146818rtc.c                   |   4 +-
include/qapi/qmp/dispatch.h              |   1 -
include/sysemu/arch_init.h               |  11 -
monitor.c                                |  88 +-----
qapi/Makefile.objs                       |  25 ++
qapi/misc.json                           | 485 +----------------------------
qapi/qapi-schema.json                    |   1 +
qapi/qmp-registry.c                      |   8 -
qapi/target.json                         | 514 +++++++++++++++++++++++++++++++
qemu-deprecated.texi                     |   5 +
qmp.c                                    |  26 --
scripts/qapi/commands.py                 |   2 +-
scripts/qapi/common.py                   |  55 +++-
scripts/qapi/events.py                   |  38 ++-
scripts/qapi/types.py                    |   4 +-
scripts/qapi/visit.py                    |   4 +-
stubs/Makefile.objs                      |   4 -
stubs/arch-query-cpu-def.c               |  11 -
stubs/arch-query-cpu-model-baseline.c    |  13 -
stubs/arch-query-cpu-model-comparison.c  |  13 -
stubs/arch-query-cpu-model-expansion.c   |  13 -
stubs/monitor.c                          |   2 +-
target/arm/helper.c                      |   3 +-
target/arm/monitor.c                     |   2 +-
target/i386/cpu.c                        |   7 +-
target/i386/sev_i386.h                   |   2 +-
target/ppc/translate_init.inc.c          |   3 +-
target/s390x/cpu_models.c                |   9 +-
tests/qapi-schema/comments.out           |   1 +
tests/qapi-schema/doc-bad-section.out    |   1 +
tests/qapi-schema/doc-good.out           |   1 +
tests/qapi-schema/empty.out              |   1 +
tests/qapi-schema/event-case.out         |   1 +
tests/qapi-schema/ident-with-escape.out  |   1 +
tests/qapi-schema/include-relpath.out    |   1 +
tests/qapi-schema/include-repetition.out |   1 +
tests/qapi-schema/include-simple.out     |   1 +
tests/qapi-schema/indented-expr.out      |   1 +
tests/qapi-schema/qapi-schema-test.out   |   1 +
tests/test-qmp-event.c                   |   1 +
tests/test-qobject-input-visitor.c       |   1 -
ui/vnc.c                                 |   3 +-
49 files changed, 735 insertions(+), 741 deletions(-)
create mode 100644 qapi/target.json
delete mode 100644 stubs/arch-query-cpu-def.c
delete mode 100644 stubs/arch-query-cpu-model-baseline.c
delete mode 100644 stubs/arch-query-cpu-model-comparison.c
delete mode 100644 stubs/arch-query-cpu-model-expansion.c
[Qemu-devel] [PULL 00/18] QAPI patches for 2019-02-18
Posted by Markus Armbruster 5 years, 2 months ago
The following changes since commit 1e36232994c8ad01774501d2e299deba3a2469af:

  Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20190215' into staging (2019-02-15 11:12:14 +0000)

are available in the Git repository at:

  git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2019-02-18

for you to fetch changes up to 183e4281a30962729b760dfe8bed5aab27238b0c:

  qapi: move RTC_CHANGE to the target schema (2019-02-18 14:44:05 +0100)

----------------------------------------------------------------
QAPI patches for 2019-02-18

* Support for QAPI conditionals is finally complete.  query-qmp-schema
  now reflects compile-time configuration accurately.  In particular,
  it shows only commands that actually exist in in this build.

----------------------------------------------------------------
Marc-André Lureau (9):
      build-sys: move qmp-introspect per target
      qapi: make rtc-reset-reinjection and SEV depend on TARGET_I386
      qapi: make s390 commands depend on TARGET_S390X
      target.json: add a note about query-cpu* not being s390x-specific
      qapi: make query-gic-capabilities depend on TARGET_ARM
      qapi: make query-cpu-model-expansion depend on s390 or x86
      qapi: make query-cpu-definitions depend on specific targets
      qapi: remove qmp_unregister_command()
      qapi: move RTC_CHANGE to the target schema

Markus Armbruster (9):
      qapi: Belatedly document modular code generation
      qapi: Fix up documentation for recent commit a95291007b2
      qapi: Clean up modular built-in code generation a bit
      qapi: Prepare for system modules other than 'builtin'
      qapi: Generate QAPIEvent stuff into separate files
      build: Deal with all of QAPI's .o in qapi/Makefile.objs
      qapi: New module target.json
      Revert "qapi-events: add 'if' condition to implicit event enum"
      qmp: Deprecate query-events in favor of query-qmp-schema

 .gitignore                               |   1 +
 Makefile                                 |   2 +-
 Makefile.objs                            |  17 +-
 Makefile.target                          |   1 +
 docs/devel/qapi-code-gen.txt             |  82 ++++-
 hw/ppc/spapr_rtc.c                       |   2 +-
 hw/s390x/s390-skeys.c                    |   2 +-
 hw/timer/mc146818rtc.c                   |   4 +-
 include/qapi/qmp/dispatch.h              |   1 -
 include/sysemu/arch_init.h               |  11 -
 monitor.c                                |  88 +-----
 qapi/Makefile.objs                       |  25 ++
 qapi/misc.json                           | 485 +----------------------------
 qapi/qapi-schema.json                    |   1 +
 qapi/qmp-registry.c                      |   8 -
 qapi/target.json                         | 514 +++++++++++++++++++++++++++++++
 qemu-deprecated.texi                     |   5 +
 qmp.c                                    |  26 --
 scripts/qapi/commands.py                 |   2 +-
 scripts/qapi/common.py                   |  55 +++-
 scripts/qapi/events.py                   |  38 ++-
 scripts/qapi/types.py                    |   4 +-
 scripts/qapi/visit.py                    |   4 +-
 stubs/Makefile.objs                      |   4 -
 stubs/arch-query-cpu-def.c               |  11 -
 stubs/arch-query-cpu-model-baseline.c    |  13 -
 stubs/arch-query-cpu-model-comparison.c  |  13 -
 stubs/arch-query-cpu-model-expansion.c   |  13 -
 stubs/monitor.c                          |   2 +-
 target/arm/helper.c                      |   3 +-
 target/arm/monitor.c                     |   2 +-
 target/i386/cpu.c                        |   7 +-
 target/i386/sev_i386.h                   |   2 +-
 target/ppc/translate_init.inc.c          |   3 +-
 target/s390x/cpu_models.c                |   9 +-
 tests/qapi-schema/comments.out           |   1 +
 tests/qapi-schema/doc-bad-section.out    |   1 +
 tests/qapi-schema/doc-good.out           |   1 +
 tests/qapi-schema/empty.out              |   1 +
 tests/qapi-schema/event-case.out         |   1 +
 tests/qapi-schema/ident-with-escape.out  |   1 +
 tests/qapi-schema/include-relpath.out    |   1 +
 tests/qapi-schema/include-repetition.out |   1 +
 tests/qapi-schema/include-simple.out     |   1 +
 tests/qapi-schema/indented-expr.out      |   1 +
 tests/qapi-schema/qapi-schema-test.out   |   1 +
 tests/test-qmp-event.c                   |   1 +
 tests/test-qobject-input-visitor.c       |   1 -
 ui/vnc.c                                 |   3 +-
 49 files changed, 735 insertions(+), 741 deletions(-)
 create mode 100644 qapi/target.json
 delete mode 100644 stubs/arch-query-cpu-def.c
 delete mode 100644 stubs/arch-query-cpu-model-baseline.c
 delete mode 100644 stubs/arch-query-cpu-model-comparison.c
 delete mode 100644 stubs/arch-query-cpu-model-expansion.c

-- 
2.17.2


Re: [Qemu-devel] [PULL 00/18] QAPI patches for 2019-02-18
Posted by Peter Maydell 5 years, 2 months ago
On Mon, 18 Feb 2019 at 14:14, Markus Armbruster <armbru@redhat.com> wrote:
>
> The following changes since commit 1e36232994c8ad01774501d2e299deba3a2469af:
>
>   Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20190215' into staging (2019-02-15 11:12:14 +0000)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2019-02-18
>
> for you to fetch changes up to 183e4281a30962729b760dfe8bed5aab27238b0c:
>
>   qapi: move RTC_CHANGE to the target schema (2019-02-18 14:44:05 +0100)
>
> ----------------------------------------------------------------
> QAPI patches for 2019-02-18
>
> * Support for QAPI conditionals is finally complete.  query-qmp-schema
>   now reflects compile-time configuration accurately.  In particular,
>   it shows only commands that actually exist in in this build.
>

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
for any user-visible changes.

-- PMM