Re: [Qemu-devel] [PATCH v2 8/9] qmp: add NBD server commands

2012-10-31 Thread Christoph Hellwig
On Wed, Oct 31, 2012 at 01:46:22PM +0100, Paolo Bonzini wrote: > qemu-nbd does support AIO in the latest versions. There's also > --cache=MODE and --aio=MODE command-line options. Oh true, it's just hidden behind coroutines. With --aio-native and --nocache I actually get fairly reasonable perfor

Re: [Qemu-devel] [PATCH v2 8/9] qmp: add NBD server commands

2012-10-31 Thread Paolo Bonzini
Il 31/10/2012 12:23, Christoph Hellwig ha scritto: > On Mon, Oct 01, 2012 at 04:52:23PM +0200, 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 s

Re: [Qemu-devel] [PATCH v2 8/9] qmp: add NBD server commands

2012-10-31 Thread Christoph Hellwig
On Mon, Oct 01, 2012 at 04:52:23PM +0200, 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

Re: [Qemu-devel] [PATCH v2 8/9] qmp: add NBD server commands

2012-10-02 Thread Luiz Capitulino
On Mon, 1 Oct 2012 16:52:23 +0200 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 expo

Re: [Qemu-devel] [PATCH v2 8/9] qmp: add NBD server commands

2012-10-01 Thread Eric Blake
On 10/01/2012 08:52 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. > > +#

[Qemu-devel] [PATCH v2 8/9] qmp: add NBD server commands

2012-10-01 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 --- Makefile.objs| 2 +-