Re: [Qemu-devel] [RFC PATCH RDMA support v1: 11/13] send pc.ram over RDMA

2013-04-11 Thread Michael R. Hines
Acknowledged. On 04/11/2013 02:26 AM, Paolo Bonzini wrote: Il 11/04/2013 00:28, mrhi...@linux.vnet.ibm.com ha scritto: +#ifdef CONFIG_RDMA +int qemu_rdma_registration_start(QEMUFile *f, void *opaque, uint32_t flags) +{ +DPRINTF("start section: %d\n", flags); +qemu_put_be64(f, RAM_SAV

Re: [Qemu-devel] [RFC PATCH RDMA support v1: 11/13] send pc.ram over RDMA

2013-04-10 Thread Paolo Bonzini
Il 11/04/2013 00:28, mrhi...@linux.vnet.ibm.com ha scritto: > > +#ifdef CONFIG_RDMA > +int qemu_rdma_registration_start(QEMUFile *f, void *opaque, uint32_t flags) > +{ > +DPRINTF("start section: %d\n", flags); > +qemu_put_be64(f, RAM_SAVE_FLAG_HOOK); > +return 0; > +} > +#endif > T

[Qemu-devel] [RFC PATCH RDMA support v1: 11/13] send pc.ram over RDMA

2013-04-10 Thread mrhines
From: "Michael R. Hines" This takes advantages of the previous patches: 1. use the new QEMUFileOps hook 'save_page' and return ENOTSUP if not supported. 2. call out to the right accessor methods to invoke the iteration hooks defined in QEMUFileOps Signed-off-by: Michael R. Hines --- arch