Re: [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands

2012-10-19 Thread Markus Armbruster
Paolo Bonzini writes: > 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. For NBD noobs like me, a sho

Re: [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands

2012-10-11 Thread Paolo Bonzini
Il 11/10/2012 15:14, Eric Blake ha scritto: +## +# @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

Re: [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands

2012-10-11 Thread Eric Blake
On 10/11/2012 07:06 AM, Paolo Bonzini wrote: > 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 dif

Re: [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands

2012-10-11 Thread Paolo Bonzini
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 ex

Re: [Qemu-devel] [PATCH 24/25] qmp: add NBD server commands

2012-10-10 Thread Eric Blake
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. > > Ack

[Qemu-devel] [PATCH 24/25] qmp: add NBD server commands

2012-10-10 Thread Paolo Bonzini
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 Signed-off-by: Paolo Bonzini ---