On 2018-08-19 18:34, [email protected] wrote:
Hello, I am interested in inter-cell communication between an ARM linux root cell and the baremetal inmate. I'd like the baremetal to process I/O and write data to a buffer in RAM. On the linux side, I'd like to know when that buffer was full and copy it to a file on the filesystem or a removable storage device. Is ivshem the way I need to go? Looking at the examples, I'm not understanding the role or need of the PCI device.
ivshmem is the way to go, yes. It is exposed to the guest as virtual PCI device. If you search the list you will find some references to (unfortunately unfinished) ports of the ivshmem-demo for bare-metal inmates to ARM. You should derive from that. On the linux side, there is the uio driver as referenced in the docs.
ivshmem gives you that shared memory region and a mechanism to kick the remote side via an interrupt. That should allow you to build your preferred application-specific communication on top.
I am a total newb at Jailhouse, just learned about its existence last week.
A lot to explore then ;). Jan -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
