Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-21 Thread Marcel Apfelbaum
On 22/12/2017 0:30, Yuval Shaia wrote: On Thu, Dec 21, 2017 at 10:46:35PM +0200, Michael S. Tsirkin wrote: On Thu, Dec 21, 2017 at 05:59:38PM +0200, Marcel Apfelbaum wrote: On 21/12/2017 16:22, Michael S. Tsirkin wrote: On Thu, Dec 21, 2017 at 09:27:51AM +0200, Yuval Shaia wrote: What happe

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-21 Thread Yuval Shaia
On Thu, Dec 21, 2017 at 10:46:35PM +0200, Michael S. Tsirkin wrote: > On Thu, Dec 21, 2017 at 05:59:38PM +0200, Marcel Apfelbaum wrote: > > On 21/12/2017 16:22, Michael S. Tsirkin wrote: > > > On Thu, Dec 21, 2017 at 09:27:51AM +0200, Yuval Shaia wrote: > > > > > > > > > > > > > What happens if gu

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-21 Thread Michael S. Tsirkin
On Thu, Dec 21, 2017 at 05:59:38PM +0200, Marcel Apfelbaum wrote: > On 21/12/2017 16:22, Michael S. Tsirkin wrote: > > On Thu, Dec 21, 2017 at 09:27:51AM +0200, Yuval Shaia wrote: > > > > > > > > > > > What happens if guest attempts to register all its memory? > > > > > > > > > > > > > > > > The

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-21 Thread Marcel Apfelbaum
On 21/12/2017 16:22, Michael S. Tsirkin wrote: On Thu, Dec 21, 2017 at 09:27:51AM +0200, Yuval Shaia wrote: What happens if guest attempts to register all its memory? Then we loose, is not different from bare metal, reg_mr will pin all the RAM. We need to find a way to communicate to gues

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-21 Thread Michael S. Tsirkin
On Thu, Dec 21, 2017 at 09:27:51AM +0200, Yuval Shaia wrote: > > > > > > > What happens if guest attempts to register all its memory? > > > > > > > > > > Then we loose, is not different from bare metal, reg_mr will pin all the > > > RAM. > > > > We need to find a way to communicate to guests a

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-20 Thread Yuval Shaia
> > > > > What happens if guest attempts to register all its memory? > > > > > > > Then we loose, is not different from bare metal, reg_mr will pin all the > > RAM. > > We need to find a way to communicate to guests about amount > of memory they can pin. dev_caps.max_mr_size is the way device

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-20 Thread Michael S. Tsirkin
On Wed, Dec 20, 2017 at 05:07:38PM +0200, Marcel Apfelbaum wrote: > On 19/12/2017 20:05, Michael S. Tsirkin wrote: > > On Sun, Dec 17, 2017 at 02:54:52PM +0200, Marcel Apfelbaum wrote: > > > RFC -> V2: > > > - Full implementation of the pvrdma device > > > - Backend is an ibdevice interface, no

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-20 Thread Michael S. Tsirkin
On Wed, Dec 20, 2017 at 07:56:47PM +0200, Yuval Shaia wrote: > On Tue, Dec 19, 2017 at 08:05:18PM +0200, Michael S. Tsirkin wrote: > > On Sun, Dec 17, 2017 at 02:54:52PM +0200, Marcel Apfelbaum wrote: > > > RFC -> V2: > > > - Full implementation of the pvrdma device > > > - Backend is an ibdevice

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-20 Thread Yuval Shaia
On Tue, Dec 19, 2017 at 08:05:18PM +0200, Michael S. Tsirkin wrote: > On Sun, Dec 17, 2017 at 02:54:52PM +0200, Marcel Apfelbaum wrote: > > RFC -> V2: > > - Full implementation of the pvrdma device > > - Backend is an ibdevice interface, no need for the KDBR module > > > > General description >

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-20 Thread Marcel Apfelbaum
On 19/12/2017 20:05, Michael S. Tsirkin wrote: On Sun, Dec 17, 2017 at 02:54:52PM +0200, Marcel Apfelbaum wrote: RFC -> V2: - Full implementation of the pvrdma device - Backend is an ibdevice interface, no need for the KDBR module General description === PVRDMA is the QEMU i

Re: [Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-19 Thread Michael S. Tsirkin
On Sun, Dec 17, 2017 at 02:54:52PM +0200, Marcel Apfelbaum wrote: > RFC -> V2: > - Full implementation of the pvrdma device > - Backend is an ibdevice interface, no need for the KDBR module > > General description > === > PVRDMA is the QEMU implementation of VMware's paravirtuali

[Qemu-devel] [PATCH V2 0/5] hw/pvrdma: PVRDMA device implementation

2017-12-17 Thread Marcel Apfelbaum
RFC -> V2: - Full implementation of the pvrdma device - Backend is an ibdevice interface, no need for the KDBR module General description === PVRDMA is the QEMU implementation of VMware's paravirtualized RDMA device. It works with its Linux Kernel driver AS IS, no need for any s