L4Re IPC share memory that share file in one Linux filesystem and be visible to other Linuxes

Matthias Lange matthias.lange at kernkonzept.com
Wed Jul 5 22:58:08 CEST 2017


Hi,

On 07/05/2017 05:47 AM, Joyce Peng(彭美僑) wrote:
> Hi L4,
> 
>   I want to share a file in one Linux filesystem and be visible to other
> Linuxes that all run on top Fiasco.OC. It seems an IPC communication
> between L4re vm tasks. And access a file in Linux filesystem is a
> mechanism of kernel block device driver. But I only notice two char
> device drivers that use L4re library l4shmc in L4linux. It is l4ser_shm
> and l4shmnet. May you give some information about this work how to work.
> Thanks.

Have you thought about how to syncronize access to the filesystem
between the two VMs?

The easiest approach would be to setup a (virtual) network connection
between the two VMs and let one VM provide the filesystem via NFS, NBD
or SMB.

Regards,
Matthias.

> 
> Joyce.peng(彭美僑)



More information about the l4-hackers mailing list