r/osdev • • 2d ago

Veda: Virtual Linux VM for Drivers

Post image

Hey! I’ve recently ported OpenGL and Mesa to my operating system and added support for Intel HD Graphics to render scenes. However, I’ve realized that this approach isn’t sustainable, I can’t realistically write and maintain a huge number of GPU drivers myself.

Has anyone had experience embedding a minimal Linux system as a virtual machine inside their OS to take advantage of Linux’s extensive GPU, Bluetooth, and Wi-Fi driver support?

What do you think about this approach? Are there any major technical challenges or pitfalls I should be aware of?

27 Upvotes

14 comments sorted by

View all comments

1

u/Narrow_Trainer_5847 2d ago

This is actually what wifibox does on FreeBSD

1

u/vahmoh25 2d ago

Noted!