mbox

[PULL,00/11] QAPI patches patches for 2021-03-16

Message ID 20210316103308.3458293-1-armbru@redhat.com (mailing list archive)
State New, archived
Headers show

Pull-request

git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-03-16

Message

Markus Armbruster March 16, 2021, 10:32 a.m. UTC
The following changes since commit 2615a5e433aeb812c300d3a48e1a88e1303e2339:

  Merge remote-tracking branch 'remotes/stefanha-gitlab/tags/block-pull-request' into staging (2021-03-15 19:23:00 +0000)

are available in the Git repository at:

  git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-03-16

for you to fetch changes up to 5b728a7754e32ff6dac3501ded3ba820ef2edc7b:

  qapi: New -compat deprecated-input=crash (2021-03-16 11:10:38 +0100)

----------------------------------------------------------------
QAPI patches patches for 2021-03-16

----------------------------------------------------------------
Markus Armbruster (10):
      qemu-options: New -compat to set policy for deprecated interfaces
      qapi: Implement deprecated-output=hide for QMP command results
      qapi: Implement deprecated-output=hide for QMP events
      qapi: Implement deprecated-output=hide for QMP event data
      monitor: Drop query-qmp-schema 'gen': false hack
      qapi: Implement deprecated-output=hide for QMP introspection
      test-util-sockets: Add stub for monitor_set_cur()
      qapi: Implement deprecated-input=reject for QMP commands
      qapi: Implement deprecated-input=reject for QMP command arguments
      qapi: New -compat deprecated-input=crash

Paolo Bonzini (1):
      qemuutil: remove qemu_set_fd_handler duplicate symbol

 qapi/compat.json                        |  52 +++++++++++++++++
 qapi/introspect.json                    |   2 +-
 qapi/qapi-schema.json                   |   1 +
 include/qapi/compat-policy.h            |  20 +++++++
 include/qapi/qmp/dispatch.h             |   1 +
 include/qapi/qobject-input-visitor.h    |   9 +++
 include/qapi/qobject-output-visitor.h   |   9 +++
 include/qapi/visitor-impl.h             |   6 ++
 include/qapi/visitor.h                  |  18 ++++++
 monitor/monitor-internal.h              |   3 -
 monitor/misc.c                          |   2 -
 monitor/qmp-cmds-control.c              | 100 ++++++++++++++++++++++++++++----
 qapi/qapi-visit-core.c                  |  18 ++++++
 qapi/qmp-dispatch.c                     |  17 ++++++
 qapi/qobject-input-visitor.c            |  29 +++++++++
 qapi/qobject-output-visitor.c           |  19 ++++++
 softmmu/vl.c                            |  17 ++++++
 storage-daemon/qemu-storage-daemon.c    |   2 -
 stubs/set-fd-handler.c                  |  10 ----
 tests/unit/test-qmp-cmds.c              |  91 +++++++++++++++++++++++++++--
 tests/unit/test-qmp-event.c             |  41 +++++++++++++
 tests/unit/test-util-sockets.c          |   1 +
 qapi/meson.build                        |   1 +
 qapi/trace-events                       |   2 +
 qemu-options.hx                         |  22 +++++++
 scripts/qapi/commands.py                |  14 +++--
 scripts/qapi/events.py                  |  20 ++++++-
 scripts/qapi/visit.py                   |  15 +++++
 stubs/meson.build                       |   1 -
 tests/qapi-schema/qapi-schema-test.json |  20 ++++---
 tests/qapi-schema/qapi-schema-test.out  |  20 ++++---
 31 files changed, 522 insertions(+), 61 deletions(-)
 create mode 100644 qapi/compat.json
 create mode 100644 include/qapi/compat-policy.h
 delete mode 100644 stubs/set-fd-handler.c

Comments

Peter Maydell March 17, 2021, 5:14 p.m. UTC | #1
On Tue, 16 Mar 2021 at 10:33, Markus Armbruster <armbru@redhat.com> wrote:
>
> The following changes since commit 2615a5e433aeb812c300d3a48e1a88e1303e2339:
>
>   Merge remote-tracking branch 'remotes/stefanha-gitlab/tags/block-pull-request' into staging (2021-03-15 19:23:00 +0000)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-03-16
>
> for you to fetch changes up to 5b728a7754e32ff6dac3501ded3ba820ef2edc7b:
>
>   qapi: New -compat deprecated-input=crash (2021-03-16 11:10:38 +0100)
>
> ----------------------------------------------------------------
> QAPI patches patches for 2021-03-16
>

Fails to build, linux-user static config, when trynig to link the
qemu-aarch64 etc executables:

libqemuutil.a(qapi_qobject-output-visitor.c.o): In function
`qobject_output_visitor_new_qmp':
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/../../qapi/qobject-output-visitor.c:283:
undefined reference to `compat_policy'
libqemuutil.a(qapi_qobject-input-visitor.c.o): In function
`qobject_input_visitor_new_qmp':
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/../../qapi/qobject-input-visitor.c:746:
undefined reference to `compat_policy'
collect2: error: ld returned 1 exit status

thanks
-- PMM