Message ID | 1435917064-17827-2-git-send-email-marcandre.lureau@redhat.com |
---|---|
State | New |
Headers | show |
On 07/03/2015 03:51 AM, Marc-André Lureau wrote: > This is mainly to please the doc generation that requires comment block > before the declaration. > > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > qapi-schema.json | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/qapi-schema.json b/qapi-schema.json > index 106008c..71c894e 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -3016,13 +3016,17 @@ > { 'struct': 'ChardevRingbuf', 'data': { '*size' : 'int' } } > > ## > +# @ChardevDummy It's worth adding a 'Since: 1.4' comment while at it. > +## > +{ 'struct': 'ChardevDummy', 'data': { } } With that added, Reviewed-by: Eric Blake <eblake@redhat.com>
diff --git a/qapi-schema.json b/qapi-schema.json index 106008c..71c894e 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3016,13 +3016,17 @@ { 'struct': 'ChardevRingbuf', 'data': { '*size' : 'int' } } ## +# @ChardevDummy +## +{ 'struct': 'ChardevDummy', 'data': { } } + +## # @ChardevBackend: # # Configuration info for the new chardev backend. # # Since: 1.4 (testdev since 2.2) ## -{ 'struct': 'ChardevDummy', 'data': { } } { 'union': 'ChardevBackend', 'data': { 'file' : 'ChardevFile', 'serial' : 'ChardevHostdev',
This is mainly to please the doc generation that requires comment block before the declaration. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> --- qapi-schema.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)