Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How the guests OS share the device? #14

Closed
wjhtinger opened this issue Oct 11, 2021 · 1 comment
Closed

How the guests OS share the device? #14

wjhtinger opened this issue Oct 11, 2021 · 1 comment

Comments

@wjhtinger
Copy link

Such as, the Linux and freertos both write data to the same uart, how to sync them? And, such as two guests OS want write EMMC,how?

@josecm
Copy link
Member

josecm commented Oct 11, 2021

Unfortunately, there is still no support in bao for sharing devices. We are starting to add VirtIO support to the hypervisor, but this is still WIP. The first backends should be available by Q1'22.

You should take a look at icessspark's fork where he started some work on this direction.

You could also do this in an ad hoc manner, by hosting the driver in one guest and using the inter-vm facilities to send work requests to other guest.

@josecm josecm closed this as completed Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants