The IPC kernel module enables communication between two VMs via a mutually established shared memory region.
- Setup global environment variables:
export ARCH=arm64|arm32|riscv
export CROSS_COMPILE=path/to/your/toolchain
export KERN_DIR=path/to/your/linux
- Build the out of tree kernel module:
make ipc
- Copy the
ipc.ko
file to your target filesystem asbao_ipc.ko
.
- When the Backend VM boots up, insert the kernel module:
insmod bao_ipc.ko
- From now on, you should be able to see the
/dev/baoipcX
device node if configured any Bao IPC object.