qapi-schema: remove legacy<> from doc
PATCH 1/1 qapi-schema: remove legacy<> from doc
From: Marc-André Lureau <[email protected]>
The legacy<> type is no longer used since 7ce7ffe02.
Signed-off-by Marc-André Lureau <[email protected]>
--- qapi-schema.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-)
qapi-schema.json +6 -9
@@ -1632,13 +1632,10 @@ # 1) A primitive type such as 'u8', 'u16', 'bool', 'str', or 'double'. # These types are mapped to the appropriate JSON type. # -# 2) A legacy type in the form 'legacy<subtype>' where subtype is the -# legacy qdev typename. These types are always treated as strings. -# -# 3) A child type in the form 'child<subtype>' where subtype is a qdev +# 2) A child type in the form 'child<subtype>' where subtype is a qdev # device type name. Child properties create the composition tree. # -# 4) A link type in the form 'link<subtype>' where subtype is a qdev +# 3) A link type in the form 'link<subtype>' where subtype is a qdev # device type name. Link properties form the device model graph. # # Since: 1.2
@@ -1689,10 +1686,10 @@ # # @property: The property name to read # -# Returns: The property value. The type depends on the property type. legacy<> -# properties are returned as #str. child<> and link<> properties are -# returns as #str pathnames. All integer property types (u8, u16, etc) -# are returned as #int. +# Returns: The property value. The type depends on the property +# type. child<> and link<> properties are returns as #str +# pathnames. All integer property types (u8, u16, etc) are +# returned as #int. # # Since: 1.2 ##
Signature · 1 line
2.4.3
Quoted 10 lines · On 09/04/2015 01:41 PM, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The legacy<> type is no longer used since
7ce7ffe02.Signed-off-by Marc-André Lureau <[email protected]>--- qapi-schema.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-)
qapi-schema.json line 1690
Quoted 9 lines
qapi-schema.json +2
-4@@ -1689,10 +1686,10 @@ # # @property: The property name to read # -# Returns: The property value. The type depends on the property type. legacy<> -# properties are returned as #str. child<> and link<> properties are -# returns as #str pathnames. All integer property types (u8, u16, etc) -# are returned as #int. +# Returns: The property value. The type depends on the property +# type. child<> and link<> properties are returns as #str
While at it, please fix the pre-existing typo:
s/returns/returned/
qapi-schema.json line 1692
Quoted 2 lines
qapi-schema.json +2
-0+# pathnames. All integer property types (u8, u16, etc) are +# returned as #int.
With that fixed,
Reviewed-by Eric Blake <[email protected]>
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Michael Tokarev
AppliedQuoted 3 lines · 04.09.2015 22:41, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The legacy<> type is no longer used since
7ce7ffe02.
Applied to -trivial, with the typo fix suggested by Eric.
Thanks,
/mjt