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='/sysbus'
and QEMU boots without any error
I would like to get some help regarding data writing and reading from shared memory.
when using ivshmem-plain, i used to write data from host like
echo "hello" > /dev/shm/shm1 and in guest i was reading from pci bus BAR and i was able to get data.
similarly can you please help me with ivshmem-flat like where is the location to write/read the data from host and in guest.
Thanks & Regards,
Sanjeev.