diff mbox

[v2,04/11] qapi: fix @ACPI sections

Message ID 20160925181836.18293-5-marcandre.lureau@redhat.com
State New
Headers show

Commit Message

Marc-André Lureau Sept. 25, 2016, 6:18 p.m. UTC
This helps the doc parser.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 qapi-schema.json | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Markus Armbruster Oct. 26, 2016, 1:38 p.m. UTC | #1
Marc-André Lureau <marcandre.lureau@redhat.com> writes:

> This helps the doc parser.
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  qapi-schema.json | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 3091993..3ac8637 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @@ -4414,14 +4414,16 @@
>  ##
>  { 'command': 'query-memory-devices', 'returns': ['MemoryDeviceInfo'] }
>  
> -## @ACPISlotType
> +##
> +# @ACPISlotType
>  #
>  # @DIMM: memory slot
>  # @CPU: logical CPU slot (since 2.7)
>  #
>  { 'enum': 'ACPISlotType', 'data': [ 'DIMM', 'CPU' ] }
>  
> -## @ACPIOSTInfo
> +##
> +# @ACPIOSTInfo
>  #
>  # OSPM Status Indication for a device
>  # For description of possible values of @source and @status fields

Could be squashed into PATCH 02.

Another, unrelated thing to clean up while you're at it: { 'include':
'qapi/rocker.json' } is in the middle of qapi-schema.json for no obvious
reason.  Let's move it next to the other includes, in a separate patch.

There's also inconsistent whitespace use, but I think that's best left
for another day.
diff mbox

Patch

diff --git a/qapi-schema.json b/qapi-schema.json
index 3091993..3ac8637 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4414,14 +4414,16 @@ 
 ##
 { 'command': 'query-memory-devices', 'returns': ['MemoryDeviceInfo'] }
 
-## @ACPISlotType
+##
+# @ACPISlotType
 #
 # @DIMM: memory slot
 # @CPU: logical CPU slot (since 2.7)
 #
 { 'enum': 'ACPISlotType', 'data': [ 'DIMM', 'CPU' ] }
 
-## @ACPIOSTInfo
+##
+# @ACPIOSTInfo
 #
 # OSPM Status Indication for a device
 # For description of possible values of @source and @status fields