Re: [RFC PATCH v2 1/5] vhost-user: Add VIRTIO Shared Memory map request

2024-09-11 Thread Stefan Hajnoczi
On Wed, 11 Sept 2024 at 07:58, Albert Esteve wrote: > On Thu, Sep 5, 2024 at 6:45 PM Stefan Hajnoczi wrote: >> >> On Tue, Sep 03, 2024 at 01:54:12PM +0200, Albert Esteve wrote: >> > On Tue, Sep 3, 2024 at 11:54 AM Albert Esteve wrote: >> > >> > > >> > > >> > > On Thu, Jul 11, 2024 at 9:45 AM Ste

Re: [RFC PATCH v2 1/5] vhost-user: Add VIRTIO Shared Memory map request

2024-09-11 Thread Albert Esteve
On Thu, Sep 5, 2024 at 6:45 PM Stefan Hajnoczi wrote: > On Tue, Sep 03, 2024 at 01:54:12PM +0200, Albert Esteve wrote: > > On Tue, Sep 3, 2024 at 11:54 AM Albert Esteve > wrote: > > > > > > > > > > > On Thu, Jul 11, 2024 at 9:45 AM Stefan Hajnoczi > > > wrote: > > > > > >> On Fri, Jun 28, 2024

Re: [RFC PATCH v2 1/5] vhost-user: Add VIRTIO Shared Memory map request

2024-09-05 Thread Stefan Hajnoczi
On Tue, Sep 03, 2024 at 01:54:12PM +0200, Albert Esteve wrote: > On Tue, Sep 3, 2024 at 11:54 AM Albert Esteve wrote: > > > > > > > On Thu, Jul 11, 2024 at 9:45 AM Stefan Hajnoczi > > wrote: > > > >> On Fri, Jun 28, 2024 at 04:57:06PM +0200, Albert Esteve wrote: > >> > Add SHMEM_MAP/UNMAP reques

Re: [RFC PATCH v2 1/5] vhost-user: Add VIRTIO Shared Memory map request

2024-09-04 Thread Albert Esteve
On Thu, Jul 11, 2024 at 9:45 AM Stefan Hajnoczi wrote: > On Fri, Jun 28, 2024 at 04:57:06PM +0200, Albert Esteve wrote: > > Add SHMEM_MAP/UNMAP requests to vhost-user to > > handle VIRTIO Shared Memory mappings. > > > > This request allows backends to dynamically map > > fds into a VIRTIO Shared

Re: [RFC PATCH v2 1/5] vhost-user: Add VIRTIO Shared Memory map request

2024-09-03 Thread Albert Esteve
On Tue, Sep 3, 2024 at 11:54 AM Albert Esteve wrote: > > > On Thu, Jul 11, 2024 at 9:45 AM Stefan Hajnoczi > wrote: > >> On Fri, Jun 28, 2024 at 04:57:06PM +0200, Albert Esteve wrote: >> > Add SHMEM_MAP/UNMAP requests to vhost-user to >> > handle VIRTIO Shared Memory mappings. >> > >> > This req

Re: [RFC PATCH v2 1/5] vhost-user: Add VIRTIO Shared Memory map request

2024-09-03 Thread Albert Esteve
On Thu, Jul 11, 2024 at 9:45 AM Stefan Hajnoczi wrote: > On Fri, Jun 28, 2024 at 04:57:06PM +0200, Albert Esteve wrote: > > Add SHMEM_MAP/UNMAP requests to vhost-user to > > handle VIRTIO Shared Memory mappings. > > > > This request allows backends to dynamically map > > fds into a VIRTIO Shared

Re: [RFC PATCH v2 1/5] vhost-user: Add VIRTIO Shared Memory map request

2024-07-11 Thread Stefan Hajnoczi
On Fri, Jun 28, 2024 at 04:57:06PM +0200, Albert Esteve wrote: > Add SHMEM_MAP/UNMAP requests to vhost-user to > handle VIRTIO Shared Memory mappings. > > This request allows backends to dynamically map > fds into a VIRTIO Shared Memory Region indentified > by its `shmid`. Then, the fd memory is a

[RFC PATCH v2 1/5] vhost-user: Add VIRTIO Shared Memory map request

2024-06-28 Thread Albert Esteve
Add SHMEM_MAP/UNMAP requests to vhost-user to handle VIRTIO Shared Memory mappings. This request allows backends to dynamically map fds into a VIRTIO Shared Memory Region indentified by its `shmid`. Then, the fd memory is advertised to the driver as a base addres + offset, so it can be read/writte