aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-08-03 12:21:57 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-08-03 12:21:57 +0100
commit6c5dfc9ccb643a0d50fdec9f10806b14960571d1 (patch)
tree0c646c0c7e9fcacf0a3589b6daba18ae861ded12
parent92a95ab44655602e8665d5a0de13e0781a4fe824 (diff)
parentf7160f32186b4ae1e1327e3bd05060fffec8f9ae (diff)
downloadqemu-6c5dfc9ccb643a0d50fdec9f10806b14960571d1.zip
qemu-6c5dfc9ccb643a0d50fdec9f10806b14960571d1.tar.gz
qemu-6c5dfc9ccb643a0d50fdec9f10806b14960571d1.tar.bz2
Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2020-08-03' 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>
-rw-r--r--docs/interop/firmware.json1
-rw-r--r--docs/interop/vhost-user.json1
-rw-r--r--qapi/authz.json1
-rw-r--r--qapi/block-core.json27
-rw-r--r--qapi/block.json1
-rw-r--r--qapi/char.json1
-rw-r--r--qapi/common.json1
-rw-r--r--qapi/control.json1
-rw-r--r--qapi/crypto.json1
-rw-r--r--qapi/dump.json1
-rw-r--r--qapi/error.json1
-rw-r--r--qapi/introspect.json1
-rw-r--r--qapi/job.json1
-rw-r--r--qapi/machine-target.json1
-rw-r--r--qapi/machine.json4
-rw-r--r--qapi/migration.json1
-rw-r--r--qapi/misc-target.json1
-rw-r--r--qapi/misc.json1
-rw-r--r--qapi/net.json1
-rw-r--r--qapi/qapi-schema.json1
-rw-r--r--qapi/qdev.json1
-rw-r--r--qapi/qom.json1
-rw-r--r--qapi/rdma.json1
-rw-r--r--qapi/rocker.json1
-rw-r--r--qapi/run-state.json1
-rw-r--r--qapi/sockets.json1
-rw-r--r--qapi/tpm.json1
-rw-r--r--qapi/transaction.json1
-rw-r--r--qapi/ui.json5
-rw-r--r--qga/qapi-schema.json1
-rw-r--r--storage-daemon/qapi/qapi-schema.json1
-rw-r--r--tests/qapi-schema/doc-good.json2
-rw-r--r--tests/qapi-schema/include/sub-module.json1
-rw-r--r--tests/qapi-schema/qapi-schema-test.json1
-rw-r--r--tests/qapi-schema/sub-sub-module.json1
35 files changed, 53 insertions, 16 deletions
diff --git a/docs/interop/firmware.json b/docs/interop/firmware.json
index 240f565..989f10b 100644
--- a/docs/interop/firmware.json
+++ b/docs/interop/firmware.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
# Copyright (C) 2018 Red Hat, Inc.
#
diff --git a/docs/interop/vhost-user.json b/docs/interop/vhost-user.json
index ef8ac59..feb5fe5 100644
--- a/docs/interop/vhost-user.json
+++ b/docs/interop/vhost-user.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
# Copyright (C) 2018 Red Hat, Inc.
#
diff --git a/qapi/authz.json b/qapi/authz.json
index 1c836a3..f3e9745 100644
--- a/qapi/authz.json
+++ b/qapi/authz.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
# QAPI authz definitions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index ab7bf3c..197bdc1 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
##
# == Block core (VM unrelated)
@@ -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:
#
@@ -2155,8 +2156,8 @@
# <- { "return": {} }
#
##
- { 'command': 'block-dirty-bitmap-enable',
- 'data': 'BlockDirtyBitmap' }
+{ 'command': 'block-dirty-bitmap-enable',
+ 'data': 'BlockDirtyBitmap' }
##
# @block-dirty-bitmap-disable:
@@ -2176,8 +2177,8 @@
# <- { "return": {} }
#
##
- { 'command': 'block-dirty-bitmap-disable',
- 'data': 'BlockDirtyBitmap' }
+{ 'command': 'block-dirty-bitmap-disable',
+ 'data': 'BlockDirtyBitmap' }
##
# @block-dirty-bitmap-merge:
@@ -2208,8 +2209,8 @@
# <- { "return": {} }
#
##
- { 'command': 'block-dirty-bitmap-merge',
- 'data': 'BlockDirtyBitmapMerge' }
+{ 'command': 'block-dirty-bitmap-merge',
+ 'data': 'BlockDirtyBitmapMerge' }
##
# @BlockDirtyBitmapSha256:
@@ -2220,8 +2221,8 @@
#
# Since: 2.10
##
- { 'struct': 'BlockDirtyBitmapSha256',
- 'data': {'sha256': 'str'} }
+{ 'struct': 'BlockDirtyBitmapSha256',
+ 'data': {'sha256': 'str'} }
##
# @x-debug-block-dirty-bitmap-sha256:
@@ -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:
diff --git a/qapi/block.json b/qapi/block.json
index 2ddbfa8..c54a393 100644
--- a/qapi/block.json
+++ b/qapi/block.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
##
# = Block devices
diff --git a/qapi/char.json b/qapi/char.json
index daceb20..8aeedf9 100644
--- a/qapi/char.json
+++ b/qapi/char.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/common.json b/qapi/common.json
index 7b9cbcd..716712d 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
##
# = Common data types
diff --git a/qapi/control.json b/qapi/control.json
index 6b816bb..de51e99 100644
--- a/qapi/control.json
+++ b/qapi/control.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/crypto.json b/qapi/crypto.json
index 5a68e0d..bb7930d 100644
--- a/qapi/crypto.json
+++ b/qapi/crypto.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/dump.json b/qapi/dump.json
index a1eed7b..f7c4267 100644
--- a/qapi/dump.json
+++ b/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.
diff --git a/qapi/error.json b/qapi/error.json
index 3fad08f..94a6502 100644
--- a/qapi/error.json
+++ b/qapi/error.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
##
# = QMP errors
diff --git a/qapi/introspect.json b/qapi/introspect.json
index b1aabd4..944bb87 100644
--- a/qapi/introspect.json
+++ b/qapi/introspect.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
# Copyright (C) 2015 Red Hat, Inc.
#
diff --git a/qapi/job.json b/qapi/job.json
index c48a0c3..280c2f7 100644
--- a/qapi/job.json
+++ b/qapi/job.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
##
# == Background jobs
diff --git a/qapi/machine-target.json b/qapi/machine-target.json
index f2c8294..698850c 100644
--- a/qapi/machine-target.json
+++ b/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.
diff --git a/qapi/machine.json b/qapi/machine.json
index f591440..481b1f0 100644
--- a/qapi/machine.json
+++ b/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.
@@ -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
diff --git a/qapi/migration.json b/qapi/migration.json
index d500055..ea53b23 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/misc-target.json b/qapi/misc-target.json
index dee3b45..1e561fa 100644
--- a/qapi/misc-target.json
+++ b/qapi/misc-target.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/misc.json b/qapi/misc.json
index 149c925..9d32820 100644
--- a/qapi/misc.json
+++ b/qapi/misc.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/net.json b/qapi/net.json
index 558d520..ddb113e 100644
--- a/qapi/net.json
+++ b/qapi/net.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/qapi-schema.json b/qapi/qapi-schema.json
index 43b0ba0..f03ff91 100644
--- a/qapi/qapi-schema.json
+++ b/qapi/qapi-schema.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
##
# = Introduction
#
diff --git a/qapi/qdev.json b/qapi/qdev.json
index f4ed973..1325452 100644
--- a/qapi/qdev.json
+++ b/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.
diff --git a/qapi/qom.json b/qapi/qom.json
index 8abe998..0b0b929 100644
--- a/qapi/qom.json
+++ b/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.
diff --git a/qapi/rdma.json b/qapi/rdma.json
index b58105b..a1d2175 100644
--- a/qapi/rdma.json
+++ b/qapi/rdma.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/rocker.json b/qapi/rocker.json
index 52597db..b48e49a 100644
--- a/qapi/rocker.json
+++ b/qapi/rocker.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
##
# = Rocker switch device
diff --git a/qapi/run-state.json b/qapi/run-state.json
index 2e22907..7cc9f96 100644
--- a/qapi/run-state.json
+++ b/qapi/run-state.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/sockets.json b/qapi/sockets.json
index cbd6ef3..c0c640a 100644
--- a/qapi/sockets.json
+++ b/qapi/sockets.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
##
# = Socket data types
diff --git a/qapi/tpm.json b/qapi/tpm.json
index dc1f081..6a10c9e 100644
--- a/qapi/tpm.json
+++ b/qapi/tpm.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/transaction.json b/qapi/transaction.json
index b6c1115..15ddebd 100644
--- a/qapi/transaction.json
+++ b/qapi/transaction.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
diff --git a/qapi/ui.json b/qapi/ui.json
index e16e98a..9d67210 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -1,4 +1,5 @@
# -*- Mode: Python -*-
+# vim: filetype=python
#
##
@@ -1081,8 +1082,8 @@
# Since: 3.0
#
##
- { 'enum' : 'DisplayGLMode',
- 'data' : [ 'off', 'on', 'core', 'es' ] }
+{ 'enum' : 'DisplayGLMode',
+ 'data' : [ 'off', 'on', 'core', 'es' ] }
##
# @DisplayCurses:
diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index 408a662..b1e9ed8 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -1,4 +1,5 @@
# *-*- Mode: Python -*-*
+# vim: filetype=python
##
#
diff --git a/storage-daemon/qapi/qapi-schema.json b/storage-daemon/qapi/qapi-schema.json
index 14f4f8f..6100d1f 100644
--- a/storage-daemon/qapi/qapi-schema.json
+++ b/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
diff --git a/tests/qapi-schema/doc-good.json b/tests/qapi-schema/doc-good.json
index ddd89d1..9da72a1 100644
--- a/tests/qapi-schema/doc-good.json
+++ b/tests/qapi-schema/doc-good.json
@@ -1,4 +1,6 @@
# -*- Mode: Python -*-
+# vim: filetype=python
+#
# Positive QAPI doc comment tests
{ 'pragma': { 'doc-required': true } }
diff --git a/tests/qapi-schema/include/sub-module.json b/tests/qapi-schema/include/sub-module.json
index afdb267..b9f7b9b 100644
--- a/tests/qapi-schema/include/sub-module.json
+++ b/tests/qapi-schema/include/sub-module.json
@@ -1,4 +1,5 @@
# *-*- Mode: Python -*-*
+# vim: filetype=python
# Sub-module of ../qapi-schema-test.json
diff --git a/tests/qapi-schema/qapi-schema-test.json b/tests/qapi-schema/qapi-schema-test.json
index 6b1f05a..3a9f2cb 100644
--- a/tests/qapi-schema/qapi-schema-test.json
+++ b/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.
diff --git a/tests/qapi-schema/sub-sub-module.json b/tests/qapi-schema/sub-sub-module.json
index 524ef9b..94f36ec 100644
--- a/tests/qapi-schema/sub-sub-module.json
+++ b/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