Re: [Qemu-devel] [PATCH 14/12] qmp: add NBD server commands

2012-09-20 Thread Paolo Bonzini
Il 19/09/2012 19:48, Eric Blake ha scritto: Do we need a way to unregister a single device, rather than having to stop the NBD server to unregister all devices? Possibly, but it can be added later. Paolo

[Qemu-devel] [PATCH 14/12] qmp: add NBD server commands

2012-09-19 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. Signed-off-by: Paolo Bonzini pbonz...@redhat.com ---

Re: [Qemu-devel] [PATCH 14/12] qmp: add NBD server commands

2012-09-19 Thread Eric Blake
On 09/19/2012 08:31 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.