Re: [Qemu-devel] [PATCH 2/8] rdma: core rdma logic

2013-04-12 Thread Michael R. Hines
On 04/12/2013 09:41 AM, Paolo Bonzini wrote: Il 12/04/2013 15:29, Michael R. Hines ha scritto: Oh, thank you. Huge bug - I need to introduce a "COMPRESS" message for this page into the protocol just like we already have for TCP and bypass the current chunk. It's okay to send the page uncompres

Re: [Qemu-devel] [PATCH 2/8] rdma: core rdma logic

2013-04-12 Thread Paolo Bonzini
Il 12/04/2013 15:29, Michael R. Hines ha scritto: > > Oh, thank you. Huge bug - I need to introduce a "COMPRESS" > message for this page into the protocol just like we already have > for TCP and bypass the current chunk. It's okay to send the page uncompressed if it's been registered already. T

Re: [Qemu-devel] [PATCH 2/8] rdma: core rdma logic

2013-04-12 Thread Michael R. Hines
On 04/12/2013 07:10 AM, Paolo Bonzini wrote: Il 12/04/2013 07:52, mrhi...@linux.vnet.ibm.com ha scritto: + * + * If we're using dynamic registration on the server-side, we have to + * send a registration command first. + */ +static int __qemu_rdma_write(QEMUFile *f, RDMAContext *rdma, +i

Re: [Qemu-devel] [PATCH 2/8] rdma: core rdma logic

2013-04-12 Thread Paolo Bonzini
Il 12/04/2013 07:52, mrhi...@linux.vnet.ibm.com ha scritto: > > + * > + * If we're using dynamic registration on the server-side, we have to > + * send a registration command first. > + */ > +static int __qemu_rdma_write(QEMUFile *f, RDMAContext *rdma, > +int current_index, > +uint