Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 691 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 691 Bytes

Bao Hypervisor IPC Through Shared-memory Kernel Module

The IPC kernel module enables communication between two VMs via a mutually established shared memory region.

Setup instructions

  1. Setup global environment variables:
export ARCH=arm64|arm32|riscv
export CROSS_COMPILE=path/to/your/toolchain
export KERN_DIR=path/to/your/linux
  1. Build the out of tree kernel module:
make ipc
  1. Copy the ipc.ko file to your target filesystem as bao_ipc.ko.

Run instructions

  1. When the Backend VM boots up, insert the kernel module:
insmod bao_ipc.ko
  1. From now on, you should be able to see the /dev/baoipcX device node if configured any Bao IPC object.