bao-hypervisor icon indicating copy to clipboard operation
bao-hypervisor copied to clipboard

How to implement two-way communication between virtual machines?

Open Sunt-git opened this issue 2 years ago • 1 comments

I ran it according to the demo, linux can actively communicate with freertos, but how does freertos actively communicate with linux?

Sunt-git avatar Jun 21 '22 01:06 Sunt-git

The communication channel works the same in both directions.

In the provided demos, Linux can read the /dev/baoipc0 device to get FreeRTOS messages from the shared memory. However, we haven't written the Linux driver to enable and receive the interrupts, but this is essentially what's missing for Linux to receive asynchronous notifications from the FreeRTOS side.

josecm avatar Jun 23 '22 10:06 josecm