OSDN Git Service

file-posix: Add dynamic-auto-read-only QAPI feature
authorKevin Wolf <kwolf@redhat.com>
Thu, 6 Jun 2019 15:38:02 +0000 (17:38 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 12 Jun 2019 16:36:39 +0000 (18:36 +0200)
commitc9d4070991ee504bd674c77c3790ef7028b258bd
tree97399b16b5d0e33605437da76de0fdf17a4481e5
parentf3ed93d545297afbf8c67092b84a14037ec380bd
file-posix: Add dynamic-auto-read-only QAPI feature

In commit 23dece19da4 ('file-posix: Make auto-read-only dynamic') ,
auto-read-only=on changed its behaviour in file-posix for the 4.0
release. This change cannot be detected through the usual mechanisms
like schema introspection. Add a new feature flag to the schema to
allow libvirt to detect the presence of the new behaviour.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20190606153803.5278-7-armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Comment tweaked on Eric Blake's advice]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qapi/block-core.json