Re: shared memory mechanism other than ivshmem

2024-07-09 Thread Sanjeev Kumar
Hey Gustavo, Hope you are doing good. I am trying to increase the size of shared memory to 18MB. But i am getting below error. "qemu-system-aarch64: -device ivshmem-flat,chardev=ivshmem_flat,x-bus-address-iomem=0x400FF000,x-bus-address-shmem=0x4010,shmem-size=18874368: Can't map shmem fd: shme

Re: shared memory mechanism other than ivshmem

2024-05-17 Thread Gustavo Romero
Hi Sanjeev, On 5/17/24 3:02 PM, Sanjeev Kumar wrote: Hi Gustavo, I understood difference between the two patchsets. thanks for the ivshmem-flat. i will try to get info from QNX side how to access the memory location in QNX. with the ivshmem-flat enabled, i am able to see shmem in "info qtree"

Re: shared memory mechanism other than ivshmem

2024-05-17 Thread Sanjeev Kumar
Hi Gustavo, I understood difference between the two patchsets. thanks for the ivshmem-flat. i will try to get info from QNX side how to access the memory location in QNX. with the ivshmem-flat enabled, i am able to see shmem in "info qtree" as below (qemu) info qtree bus: main-system-bus type Sys

Re: shared memory mechanism other than ivshmem

2024-05-16 Thread Sanjeev Kumar
Hi Gustavo, Thanks for your reply. Will try it out. But i see two set of patches. https://lore.kernel.org/qemu-devel/2024022218.2261956-1-gustavo.rom...@linaro.org/ And https://lore.kernel.org/qemu-devel/20231127052024.435743-2-gustavo.rom...@linaro.org/ First one looks latest. But when i us

Re: shared memory mechanism other than ivshmem

2024-05-16 Thread Gustavo Romero
Hi Sanjeev, On 5/16/24 11:22 AM, Sanjeev Kumar wrote: Hi Philippe, I have taken patches from the link you provided and built QEMU and started appending below line to QEMU -chardev socket,path=/tmp/ivshmem_socket,id=ivshmem_flat -device ivshmem-flat,chardev=ivshmem_flat,x-irq-qompath='/machine/

Re: shared memory mechanism other than ivshmem

2024-05-16 Thread Sanjeev Kumar
and there is this missing part in patches in https://lore.kernel.org/qemu-devel/2024022218.2261956-1-gustavo.rom...@linaro.org/ missing property for ivshmem-flat "x-bus-qompath" which is present in https://lore.kernel.org/qemu-devel/20231127052024.435743-2-gustavo.rom...@linaro.org/ patches.

Re: shared memory mechanism other than ivshmem

2024-05-16 Thread Sanjeev Kumar
Hi Philippe, I have taken patches from the link you provided and built QEMU and started appending below line to QEMU -chardev socket,path=/tmp/ivshmem_socket,id=ivshmem_flat -device ivshmem-flat,chardev=ivshmem_flat,x-irq-qompath='/machine/unattached/device[4]/gic/unnamed-gpio-in[0]',x-bus-qompath

Re: shared memory mechanism other than ivshmem

2024-05-14 Thread Philippe Mathieu-Daudé
On 14/5/24 12:23, Sanjeev Kumar wrote: and forgot to mention. why our VM doesn't support ivshmem because it doesn't have PCI supported. Is there any other shared memory mechanism QEMU which doesn't use the PCI interface? On Tue, May 14, 2024 at 11:28 AM Sanjeev Kumar

Re: shared memory mechanism other than ivshmem

2024-05-14 Thread Sanjeev Kumar
and forgot to mention. why our VM doesn't support ivshmem because it doesn't have PCI supported. Is there any other shared memory mechanism QEMU which doesn't use the PCI interface? On Tue, May 14, 2024 at 11:28 AM Sanjeev Kumar wrote: > Hi, > is there any other mechanism of shared memory with Q

shared memory mechanism other than ivshmem

2024-05-13 Thread Sanjeev Kumar
Hi, is there any other mechanism of shared memory with QEMU other than ivshmem? I tried ivshmem with ubuntu vm with qemu x86_64 and it is working fine. but our use case is with ARM and ivshmem isn't supported by our custom VM. so please let me know if we have any other mechanism other than ivshmem.