On 19.08.19 14:32, [email protected] wrote:
Hello,

I wanted to ask if it is possible to establish an Ethernet connection between 2 cells. On my board there are no Ethernet ports I could use, so I have to simulate this connection somehow.

Here I came across the topic "shared memory region".
I was able to build the region and /lscpi -v/ (inmate cell) gives me :

/03:00.0 Unassigned class [ff01]: Red Hat, Inc Inter-VM shared memory
         Subsystem: Red Hat, Inc Inter-VM shared memory
         Flags: fast devsel
         Memory at 100000000 (64-bit, non-prefetchable) [size=128K]
         Memory at 10000000 (32-bit, non-prefetchable) [size=16K]
/
/
/
/
/

I used :             .shmem_protocol = JAILHOUSE_SHMEM_PROTO_VETH,


Now unfortunately I lack the idea what I should do now.

On the topic Userspace I/0 I have looked at the examples of Henning Schild.
Am I right here ?


There is the shared memory device between (currently) 2 cells that is derived from ivshmem. This device can be defined to serve custom purposes, and then you may want to use that UIO driver. Or it can be defined to serve as peer-to-peer virtual network link. Then the ivshmem-net driver from the Jailhouse kernel tree will bind itself to these interfaces, and you only need to apply normal network configuration in order to get a link.

You can play with working setups when using jailhouse-images, including the virtual QEMU targets.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

--
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/6ea86aa4-ec52-3c62-c8e9-8989df6c91e4%40siemens.com.

Reply via email to