Re: [PATCH v4 7/9] vhost-user-devive: Add shmem BAR

2025-02-18 Thread Albert Esteve
On Tue, Feb 18, 2025 at 2:29 PM Stefan Hajnoczi wrote: > > On Tue, Feb 18, 2025 at 11:55:33AM +0100, Albert Esteve wrote: > > On Tue, Feb 18, 2025 at 11:41 AM Stefan Hajnoczi > > wrote: > > > > > > On Mon, Feb 17, 2025 at 05:40:10PM +0100, Albert Esteve wrote: > > > > Add a shmem BAR block in th

Re: [PATCH v4 7/9] vhost-user-devive: Add shmem BAR

2025-02-18 Thread Stefan Hajnoczi
On Tue, Feb 18, 2025 at 11:55:33AM +0100, Albert Esteve wrote: > On Tue, Feb 18, 2025 at 11:41 AM Stefan Hajnoczi wrote: > > > > On Mon, Feb 17, 2025 at 05:40:10PM +0100, Albert Esteve wrote: > > > Add a shmem BAR block in the vhost-user-device, > > > which files can be directly mapped into. > > >

Re: [PATCH v4 7/9] vhost-user-devive: Add shmem BAR

2025-02-18 Thread Albert Esteve
On Tue, Feb 18, 2025 at 11:41 AM Stefan Hajnoczi wrote: > > On Mon, Feb 17, 2025 at 05:40:10PM +0100, Albert Esteve wrote: > > Add a shmem BAR block in the vhost-user-device, > > which files can be directly mapped into. > > > > The number, shmid, and size of the VIRTIO Shared > > Memory subregions

Re: [PATCH v4 7/9] vhost-user-devive: Add shmem BAR

2025-02-18 Thread Stefan Hajnoczi
On Mon, Feb 17, 2025 at 05:40:10PM +0100, Albert Esteve wrote: > Add a shmem BAR block in the vhost-user-device, > which files can be directly mapped into. > > The number, shmid, and size of the VIRTIO Shared > Memory subregions is retrieved through a > get_shmem_config message sent by the > vhost

[PATCH v4 7/9] vhost-user-devive: Add shmem BAR

2025-02-17 Thread Albert Esteve
Add a shmem BAR block in the vhost-user-device, which files can be directly mapped into. The number, shmid, and size of the VIRTIO Shared Memory subregions is retrieved through a get_shmem_config message sent by the vhost-user-base module on the realize step, after virtio_init(). By default, if V