qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 06/10] chardev: add file chardev support to c


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2 06/10] chardev: add file chardev support to chardev-add (qmp)
Date: Thu, 10 Jan 2013 12:33:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 01/10/2013 07:23 AM, Gerd Hoffmann wrote:
> Add support for file chardevs.  Output file is mandatory,
> input file is optional.
> 
> Signed-off-by: Gerd Hoffmann <address@hidden>
> ---
>  qapi-schema.json |   13 ++++++++++-
>  qemu-char.c      |   61 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  qmp-commands.hx  |    8 ++++++-
>  3 files changed, 80 insertions(+), 2 deletions(-)
> 
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 53d4b9e..7930139 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @@ -3019,6 +3019,16 @@
>  { 'command': 'nbd-server-stop' }
>  
>  ##
> +# @ChardevFile:

Should you mention '@in: #optional' and '@out:' in any further detail?

> +#
> +# Configuration info for file chardevs.
> +#
> +# Since: 1.4
> +##
> +{ 'type': 'ChardevFile', 'data': { '*in' : 'str',
> +                                   'out' : 'str' } }

Hmm; here you document ChardevFile as a separate type, but you didn't
document ChardevDummy in patch 4/10.


> +#ifdef _WIN32

> +
> +#else /* WIN32 */

Wouldn't this be /* !_WIN32 */?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]