qapi/qom: Add ObjectOptions for tls-*, deprecate 'loaded'
commitd09e49374b336d36a4223e8a411582128d3a3796
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Oct 2020 10:47:58 +0000 (20 12:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Mar 2021 09:17:13 +0000 (19 10:17 +0100)
tree0597839a437ca264ff95b112321bfe66a50199e5
parent39c4c27d378af56059628a5cd803d390849f32e8
qapi/qom: Add ObjectOptions for tls-*, deprecate 'loaded'

This adds a QAPI schema for the properties of the tls-* 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>
qapi/crypto.json
qapi/qom.json