diff options
author | Kevin Wolf | 2020-10-20 12:47:58 +0200 |
---|---|---|
committer | Kevin Wolf | 2021-03-19 10:17:13 +0100 |
commit | 39c4c27d378af56059628a5cd803d390849f32e8 (patch) | |
tree | 2805da8c9f18c0ab57376c124160b3ec8f632b55 /docs/system/deprecated.rst | |
parent | qapi/qom: Add ObjectOptions for throttle-group (diff) | |
download | qemu-39c4c27d378af56059628a5cd803d390849f32e8.tar.gz qemu-39c4c27d378af56059628a5cd803d390849f32e8.tar.xz qemu-39c4c27d378af56059628a5cd803d390849f32e8.zip |
qapi/qom: Add ObjectOptions for secret*, deprecate 'loaded'
This adds a QAPI schema for the properties of the secret* objects.
The 'loaded' property doesn't seem to make sense as an external
interface: It is automatically set to true in ucc->complete, and
explicitly setting it to true earlier just means that additional options
will be silently ignored.
In other words, the 'loaded' property is useless. Mark it as deprecated
in the schema from the start.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Acked-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'docs/system/deprecated.rst')
-rw-r--r-- | docs/system/deprecated.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/system/deprecated.rst b/docs/system/deprecated.rst index 612b34b02c..15b9767ba5 100644 --- a/docs/system/deprecated.rst +++ b/docs/system/deprecated.rst @@ -162,6 +162,17 @@ other options have been processed. This will either have no effect (if ``opened`` was the last option) or cause errors. The property is therefore useless and should not be specified. +``loaded`` property of ``secret`` and ``secret_keyring`` objects (since 6.0.0) +'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +The only effect of specifying ``loaded=on`` in the command line or QMP +``object-add`` is that the secret is loaded immediately, possibly before all +other options have been processed. This will either have no effect (if +``loaded`` was the last option) or cause options to be effectively ignored as +if they were not given. The property is therefore useless and should not be +specified. + + QEMU Machine Protocol (QMP) commands ------------------------------------ |