[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands |
Date: |
Thu, 11 Oct 2012 15:06:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
Il 10/10/2012 22:41, Eric Blake ha scritto:
> On 10/10/2012 08:03 AM, Paolo Bonzini wrote:
>> Adding an NBD server inside QEMU is trivial, since all the logic is
>> in nbd.c and can be shared easily between qemu-nbd and QEMU itself.
>> The main difference is that qemu-nbd serves a single unnamed export,
>> while QEMU serves named exports.
>>
>> Acked-by: Luiz Capitulino <address@hidden>
>> Signed-off-by: Paolo Bonzini <address@hidden>
>> ---
>
>> +##
>> +# @nbd-server-add:
>> +#
>> +# Export a device to QEMU's embedded NBD server.
>> +#
>> +# @device: Block device to be exported
>> +#
>> +# @writable: Whether clients should be able to write to the device via the
>> +# NBD connection (default false). #optional
>
> Isn't the #optional designation supposed to come first, before 'Whether'?
Does it really matter with no program yet written to consume it?
Putting it at the end matches the old qmp-commands.hx format better (for
commands that do have qmp-commands.hx documentation).
Paolo
- Re: [Qemu-devel] [PATCH 11/25] nbd: ask and print error information from qemu-sockets, (continued)
- [Qemu-devel] [PATCH 16/25] qemu-sockets: add error propagation to inet_dgram_opts, Paolo Bonzini, 2012/10/10
- [Qemu-devel] [PATCH 22/25] qemu-sockets: add socket_listen, socket_connect, socket_parse, Paolo Bonzini, 2012/10/10
- [Qemu-devel] [PATCH 23/25] block: add close notifiers, Paolo Bonzini, 2012/10/10
- [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands, Paolo Bonzini, 2012/10/10
- Re: [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands, Markus Armbruster, 2012/10/19
[Qemu-devel] [PATCH 17/25] qemu-sockets: add error propagation to inet_parse, Paolo Bonzini, 2012/10/10
[Qemu-devel] [PATCH 14/25] qemu-sockets: include strerror or gai_strerror output in error messages, Paolo Bonzini, 2012/10/10
[Qemu-devel] [PATCH 21/25] qemu-sockets: return IPSocketAddress from inet_parse, Paolo Bonzini, 2012/10/10
[Qemu-devel] [PATCH 15/25] qemu-sockets: add error propagation to inet_connect_addr, Paolo Bonzini, 2012/10/10