qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, armbru@redhat.com, eblake@redhat.com,
	pkrempa@redhat.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/4] file-posix: Add dynamic-auto-read-only QAPI feature
Date: Mon,  8 Apr 2019 16:35:39 +0200	[thread overview]
Message-ID: <20190408143543.3982-1-kwolf@redhat.com> (raw)

This series adds optional feature lists to struct definitions in the
QAPI schema and makes use of them to advertise the new behaviour of
auto-read-only=on in file-posix.

Kevin Wolf (4):
  qapi: Support features for structs
  tests/qapi-schema: Test for good feature lists in structs
  tests/qapi-schema: Error case tests for features in structs
  file-posix: Add dynamic-auto-read-only QAPI feature

 qapi/block-core.json                          | 11 ++++-
 qapi/introspect.json                          |  8 ++-
 tests/qapi-schema/features-bad-type.json      |  3 ++
 tests/qapi-schema/features-missing-name.json  |  3 ++
 tests/qapi-schema/features-name-bad-type.json |  3 ++
 tests/qapi-schema/features-no-list.json       |  3 ++
 tests/qapi-schema/features-unknown-key.json   |  3 ++
 tests/qapi-schema/qapi-schema-test.json       | 27 ++++++++++
 docs/devel/qapi-code-gen.txt                  | 38 ++++++++++++++
 scripts/qapi/common.py                        | 49 +++++++++++++++----
 scripts/qapi/doc.py                           |  3 +-
 scripts/qapi/introspect.py                    |  6 ++-
 scripts/qapi/types.py                         |  3 +-
 scripts/qapi/visit.py                         |  3 +-
 tests/Makefile.include                        |  5 ++
 tests/qapi-schema/double-type.err             |  2 +-
 tests/qapi-schema/features-bad-type.err       |  1 +
 tests/qapi-schema/features-bad-type.exit      |  1 +
 tests/qapi-schema/features-bad-type.out       |  0
 tests/qapi-schema/features-missing-name.err   |  1 +
 tests/qapi-schema/features-missing-name.exit  |  1 +
 tests/qapi-schema/features-missing-name.out   |  0
 tests/qapi-schema/features-name-bad-type.err  |  1 +
 tests/qapi-schema/features-name-bad-type.exit |  1 +
 tests/qapi-schema/features-name-bad-type.out  |  0
 tests/qapi-schema/features-no-list.err        |  1 +
 tests/qapi-schema/features-no-list.exit       |  1 +
 tests/qapi-schema/features-no-list.out        |  0
 tests/qapi-schema/features-unknown-key.err    |  2 +
 tests/qapi-schema/features-unknown-key.exit   |  1 +
 tests/qapi-schema/features-unknown-key.out    |  0
 tests/qapi-schema/qapi-schema-test.out        | 26 ++++++++++
 tests/qapi-schema/test-qapi.py                |  7 ++-
 tests/qapi-schema/unknown-expr-key.err        |  2 +-
 34 files changed, 197 insertions(+), 19 deletions(-)
 create mode 100644 tests/qapi-schema/features-bad-type.json
 create mode 100644 tests/qapi-schema/features-missing-name.json
 create mode 100644 tests/qapi-schema/features-name-bad-type.json
 create mode 100644 tests/qapi-schema/features-no-list.json
 create mode 100644 tests/qapi-schema/features-unknown-key.json
 create mode 100644 tests/qapi-schema/features-bad-type.err
 create mode 100644 tests/qapi-schema/features-bad-type.exit
 create mode 100644 tests/qapi-schema/features-bad-type.out
 create mode 100644 tests/qapi-schema/features-missing-name.err
 create mode 100644 tests/qapi-schema/features-missing-name.exit
 create mode 100644 tests/qapi-schema/features-missing-name.out
 create mode 100644 tests/qapi-schema/features-name-bad-type.err
 create mode 100644 tests/qapi-schema/features-name-bad-type.exit
 create mode 100644 tests/qapi-schema/features-name-bad-type.out
 create mode 100644 tests/qapi-schema/features-no-list.err
 create mode 100644 tests/qapi-schema/features-no-list.exit
 create mode 100644 tests/qapi-schema/features-no-list.out
 create mode 100644 tests/qapi-schema/features-unknown-key.err
 create mode 100644 tests/qapi-schema/features-unknown-key.exit
 create mode 100644 tests/qapi-schema/features-unknown-key.out

-- 
2.20.1

WARNING: multiple messages have this Message-ID (diff)
From: Kevin Wolf <kwolf@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, pkrempa@redhat.com, armbru@redhat.com,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/4] file-posix: Add dynamic-auto-read-only QAPI feature
Date: Mon,  8 Apr 2019 16:35:39 +0200	[thread overview]
Message-ID: <20190408143543.3982-1-kwolf@redhat.com> (raw)
Message-ID: <20190408143539.gffHJfFnDGpGyaPPxm7Akt0QR48wSD0nNXDeovOp1B0@z> (raw)

This series adds optional feature lists to struct definitions in the
QAPI schema and makes use of them to advertise the new behaviour of
auto-read-only=on in file-posix.

Kevin Wolf (4):
  qapi: Support features for structs
  tests/qapi-schema: Test for good feature lists in structs
  tests/qapi-schema: Error case tests for features in structs
  file-posix: Add dynamic-auto-read-only QAPI feature

 qapi/block-core.json                          | 11 ++++-
 qapi/introspect.json                          |  8 ++-
 tests/qapi-schema/features-bad-type.json      |  3 ++
 tests/qapi-schema/features-missing-name.json  |  3 ++
 tests/qapi-schema/features-name-bad-type.json |  3 ++
 tests/qapi-schema/features-no-list.json       |  3 ++
 tests/qapi-schema/features-unknown-key.json   |  3 ++
 tests/qapi-schema/qapi-schema-test.json       | 27 ++++++++++
 docs/devel/qapi-code-gen.txt                  | 38 ++++++++++++++
 scripts/qapi/common.py                        | 49 +++++++++++++++----
 scripts/qapi/doc.py                           |  3 +-
 scripts/qapi/introspect.py                    |  6 ++-
 scripts/qapi/types.py                         |  3 +-
 scripts/qapi/visit.py                         |  3 +-
 tests/Makefile.include                        |  5 ++
 tests/qapi-schema/double-type.err             |  2 +-
 tests/qapi-schema/features-bad-type.err       |  1 +
 tests/qapi-schema/features-bad-type.exit      |  1 +
 tests/qapi-schema/features-bad-type.out       |  0
 tests/qapi-schema/features-missing-name.err   |  1 +
 tests/qapi-schema/features-missing-name.exit  |  1 +
 tests/qapi-schema/features-missing-name.out   |  0
 tests/qapi-schema/features-name-bad-type.err  |  1 +
 tests/qapi-schema/features-name-bad-type.exit |  1 +
 tests/qapi-schema/features-name-bad-type.out  |  0
 tests/qapi-schema/features-no-list.err        |  1 +
 tests/qapi-schema/features-no-list.exit       |  1 +
 tests/qapi-schema/features-no-list.out        |  0
 tests/qapi-schema/features-unknown-key.err    |  2 +
 tests/qapi-schema/features-unknown-key.exit   |  1 +
 tests/qapi-schema/features-unknown-key.out    |  0
 tests/qapi-schema/qapi-schema-test.out        | 26 ++++++++++
 tests/qapi-schema/test-qapi.py                |  7 ++-
 tests/qapi-schema/unknown-expr-key.err        |  2 +-
 34 files changed, 197 insertions(+), 19 deletions(-)
 create mode 100644 tests/qapi-schema/features-bad-type.json
 create mode 100644 tests/qapi-schema/features-missing-name.json
 create mode 100644 tests/qapi-schema/features-name-bad-type.json
 create mode 100644 tests/qapi-schema/features-no-list.json
 create mode 100644 tests/qapi-schema/features-unknown-key.json
 create mode 100644 tests/qapi-schema/features-bad-type.err
 create mode 100644 tests/qapi-schema/features-bad-type.exit
 create mode 100644 tests/qapi-schema/features-bad-type.out
 create mode 100644 tests/qapi-schema/features-missing-name.err
 create mode 100644 tests/qapi-schema/features-missing-name.exit
 create mode 100644 tests/qapi-schema/features-missing-name.out
 create mode 100644 tests/qapi-schema/features-name-bad-type.err
 create mode 100644 tests/qapi-schema/features-name-bad-type.exit
 create mode 100644 tests/qapi-schema/features-name-bad-type.out
 create mode 100644 tests/qapi-schema/features-no-list.err
 create mode 100644 tests/qapi-schema/features-no-list.exit
 create mode 100644 tests/qapi-schema/features-no-list.out
 create mode 100644 tests/qapi-schema/features-unknown-key.err
 create mode 100644 tests/qapi-schema/features-unknown-key.exit
 create mode 100644 tests/qapi-schema/features-unknown-key.out

-- 
2.20.1



             reply	other threads:[~2019-04-08 14:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-08 14:35 Kevin Wolf [this message]
2019-04-08 14:35 ` [Qemu-devel] [PATCH 0/4] file-posix: Add dynamic-auto-read-only QAPI feature Kevin Wolf
2019-04-08 14:35 ` [Qemu-devel] [PATCH 1/4] qapi: Support features for structs Kevin Wolf
2019-04-08 14:35   ` Kevin Wolf
2019-04-18 20:03   ` Markus Armbruster
2019-04-18 20:03     ` Markus Armbruster
2019-05-15 10:58     ` Kevin Wolf
2019-05-15 11:22       ` Peter Krempa
2019-05-15 13:48       ` Markus Armbruster
2019-05-17 13:43         ` Peter Krempa
2019-05-17 18:03           ` Markus Armbruster
2019-04-08 14:35 ` [Qemu-devel] [PATCH 2/4] tests/qapi-schema: Test for good feature lists in structs Kevin Wolf
2019-04-08 14:35   ` Kevin Wolf
2019-04-08 14:35 ` [Qemu-devel] [PATCH 3/4] tests/qapi-schema: Error case tests for features " Kevin Wolf
2019-04-08 14:35   ` Kevin Wolf
2019-04-08 14:35 ` [Qemu-devel] [PATCH 4/4] file-posix: Add dynamic-auto-read-only QAPI feature Kevin Wolf
2019-04-08 14:35   ` Kevin Wolf
2019-04-18 20:13   ` Markus Armbruster
2019-04-18 20:13     ` Markus Armbruster
2019-04-08 16:25 ` [Qemu-devel] [PATCH 0/4] " Peter Krempa
2019-04-08 16:25   ` Peter Krempa
2019-04-18  7:22 ` Kevin Wolf
2019-04-18  7:22   ` Kevin Wolf
2019-04-18 20:18 ` Markus Armbruster
2019-04-18 20:18   ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190408143543.3982-1-kwolf@redhat.com \
    --to=kwolf@redhat.com \
    --cc=armbru@redhat.com \
    --cc=eblake@redhat.com \
    --cc=pkrempa@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).