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

2025-06-25 Thread Stefan Hajnoczi
On Mon, Jun 09, 2025 at 04:47:29PM +0200, Albert Esteve wrote: > diff --git a/hw/virtio/vhost-user-device-pci.c > b/hw/virtio/vhost-user-device-pci.c > index f10bac874e..eeb52671a0 100644 > --- a/hw/virtio/vhost-user-device-pci.c > +++ b/hw/virtio/vhost-user-device-pci.c > @@ -8,14 +8,18 @@ > */

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

2025-06-20 Thread Albert Esteve
On Fri, Jun 20, 2025 at 11:08 AM Dorinda Bassey wrote: > > Hi Albert, > > Thank you for these patches, just a small issue you could add to your > next series. > > > > > + > > +memory_region_init(virtio_new_shmem_region(vdev, i)->mr, > > + OBJECT(vdev), "vu

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

2025-06-20 Thread Dorinda Bassey
Hi Albert, Thank you for these patches, just a small issue you could add to your next series. > > + > +memory_region_init(virtio_new_shmem_region(vdev, i)->mr, > + OBJECT(vdev), "vub-shm-" + i, > + memory_sizes[i]); Here, `"

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

2025-06-10 Thread Alyssa Ross
Subject should say vhost-user-devi*c*e signature.asc Description: PGP signature

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

2025-06-09 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