Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2020-08-0…
Browse files Browse the repository at this point in the history
…3' into staging

QAPI patches patches for 2020-08-03

# gpg: Signature made Mon 03 Aug 2020 10:08:30 BST
# gpg:                using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
# gpg:                issuer "armbru@redhat.com"
# gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
# gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>" [full]
# Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653

* remotes/armbru/tags/pull-qapi-2020-08-03:
  schemas: Add vim modeline
  qapi: Delete unwanted indentation of top-level expressions
  qapi/machine.json: Fix missing newline in doc comment

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
pm215 committed Aug 3, 2020
2 parents 92a95ab + f7160f3 commit 6c5dfc9
Show file tree
Hide file tree
Showing 35 changed files with 53 additions and 16 deletions.
1 change: 1 addition & 0 deletions docs/interop/firmware.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# Copyright (C) 2018 Red Hat, Inc.
#
Expand Down
1 change: 1 addition & 0 deletions docs/interop/vhost-user.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# Copyright (C) 2018 Red Hat, Inc.
#
Expand Down
1 change: 1 addition & 0 deletions qapi/authz.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# QAPI authz definitions

Expand Down
27 changes: 14 additions & 13 deletions qapi/block-core.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python

##
# == Block core (VM unrelated)
Expand Down Expand Up @@ -1847,9 +1848,9 @@
#
# Since: 4.0
##
{ 'enum': 'BlockPermission',
'data': [ 'consistent-read', 'write', 'write-unchanged', 'resize',
'graph-mod' ] }
{ 'enum': 'BlockPermission',
'data': [ 'consistent-read', 'write', 'write-unchanged', 'resize',
'graph-mod' ] }
##
# @XDbgBlockGraphEdge:
#
Expand Down Expand Up @@ -2155,8 +2156,8 @@
# <- { "return": {} }
#
##
{ 'command': 'block-dirty-bitmap-enable',
'data': 'BlockDirtyBitmap' }
{ 'command': 'block-dirty-bitmap-enable',
'data': 'BlockDirtyBitmap' }

##
# @block-dirty-bitmap-disable:
Expand All @@ -2176,8 +2177,8 @@
# <- { "return": {} }
#
##
{ 'command': 'block-dirty-bitmap-disable',
'data': 'BlockDirtyBitmap' }
{ 'command': 'block-dirty-bitmap-disable',
'data': 'BlockDirtyBitmap' }

##
# @block-dirty-bitmap-merge:
Expand Down Expand Up @@ -2208,8 +2209,8 @@
# <- { "return": {} }
#
##
{ 'command': 'block-dirty-bitmap-merge',
'data': 'BlockDirtyBitmapMerge' }
{ 'command': 'block-dirty-bitmap-merge',
'data': 'BlockDirtyBitmapMerge' }

##
# @BlockDirtyBitmapSha256:
Expand All @@ -2220,8 +2221,8 @@
#
# Since: 2.10
##
{ 'struct': 'BlockDirtyBitmapSha256',
'data': {'sha256': 'str'} }
{ 'struct': 'BlockDirtyBitmapSha256',
'data': {'sha256': 'str'} }

##
# @x-debug-block-dirty-bitmap-sha256:
Expand All @@ -2235,8 +2236,8 @@
#
# Since: 2.10
##
{ 'command': 'x-debug-block-dirty-bitmap-sha256',
'data': 'BlockDirtyBitmap', 'returns': 'BlockDirtyBitmapSha256' }
{ 'command': 'x-debug-block-dirty-bitmap-sha256',
'data': 'BlockDirtyBitmap', 'returns': 'BlockDirtyBitmapSha256' }

##
# @blockdev-mirror:
Expand Down
1 change: 1 addition & 0 deletions qapi/block.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python

##
# = Block devices
Expand Down
1 change: 1 addition & 0 deletions qapi/char.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/common.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python

##
# = Common data types
Expand Down
1 change: 1 addition & 0 deletions qapi/control.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/crypto.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/dump.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
Expand Down
1 change: 1 addition & 0 deletions qapi/error.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python

##
# = QMP errors
Expand Down
1 change: 1 addition & 0 deletions qapi/introspect.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# Copyright (C) 2015 Red Hat, Inc.
#
Expand Down
1 change: 1 addition & 0 deletions qapi/job.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python

##
# == Background jobs
Expand Down
1 change: 1 addition & 0 deletions qapi/machine-target.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
Expand Down
4 changes: 3 additions & 1 deletion qapi/machine.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
Expand Down Expand Up @@ -825,7 +826,8 @@
# @node-id: NUMA node ID the CPU belongs to
# @socket-id: socket number within node/board the CPU belongs to
# @die-id: die number within node/board the CPU belongs to (Since 4.1)
# @core-id: core number within die the CPU belongs to# @thread-id: thread number within core the CPU belongs to
# @core-id: core number within die the CPU belongs to
# @thread-id: thread number within core the CPU belongs to
#
# Note: currently there are 5 properties that could be present
# but management should be prepared to pass through other
Expand Down
1 change: 1 addition & 0 deletions qapi/migration.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/misc-target.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/misc.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/net.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/qapi-schema.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
##
# = Introduction
#
Expand Down
1 change: 1 addition & 0 deletions qapi/qdev.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
Expand Down
1 change: 1 addition & 0 deletions qapi/qom.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# This work is licensed under the terms of the GNU GPL, version 2 or later.
# See the COPYING file in the top-level directory.
Expand Down
1 change: 1 addition & 0 deletions qapi/rdma.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/rocker.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python

##
# = Rocker switch device
Expand Down
1 change: 1 addition & 0 deletions qapi/run-state.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/sockets.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python

##
# = Socket data types
Expand Down
1 change: 1 addition & 0 deletions qapi/tpm.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
1 change: 1 addition & 0 deletions qapi/transaction.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down
5 changes: 3 additions & 2 deletions qapi/ui.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python
#

##
Expand Down Expand Up @@ -1081,8 +1082,8 @@
# Since: 3.0
#
##
{ 'enum' : 'DisplayGLMode',
'data' : [ 'off', 'on', 'core', 'es' ] }
{ 'enum' : 'DisplayGLMode',
'data' : [ 'off', 'on', 'core', 'es' ] }

##
# @DisplayCurses:
Expand Down
1 change: 1 addition & 0 deletions qga/qapi-schema.json
@@ -1,4 +1,5 @@
# *-*- Mode: Python -*-*
# vim: filetype=python

##
#
Expand Down
1 change: 1 addition & 0 deletions storage-daemon/qapi/qapi-schema.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# vim: filetype=python

# Note that modules are shared with the QEMU main schema under the assumption
# that the storage daemon schema is a subset of the main schema. For the shared
Expand Down
2 changes: 2 additions & 0 deletions tests/qapi-schema/doc-good.json
@@ -1,4 +1,6 @@
# -*- Mode: Python -*-
# vim: filetype=python
#
# Positive QAPI doc comment tests

{ 'pragma': { 'doc-required': true } }
Expand Down
1 change: 1 addition & 0 deletions tests/qapi-schema/include/sub-module.json
@@ -1,4 +1,5 @@
# *-*- Mode: Python -*-*
# vim: filetype=python

# Sub-module of ../qapi-schema-test.json

Expand Down
1 change: 1 addition & 0 deletions tests/qapi-schema/qapi-schema-test.json
@@ -1,4 +1,5 @@
# *-*- Mode: Python -*-*
# vim: filetype=python

# This file is a stress test of supported qapi constructs that must
# parse and compile correctly.
Expand Down
1 change: 1 addition & 0 deletions tests/qapi-schema/sub-sub-module.json
@@ -1,4 +1,5 @@
# *-*- Mode: Python -*-*
# vim: filetype=python

# Sub-module of sub-module include/sub-module.json of qapi-schema-test.json

Expand Down

0 comments on commit 6c5dfc9

Please sign in to comment.