StrikerX3 / virt86

x86 virtualization abstraction framework
MIT License
152 stars 17 forks source link

Consider implementing a fallback adapter for systems that don't have virtualization platforms available #7

Open StrikerX3 opened 5 years ago

StrikerX3 commented 5 years ago

In cases where the host system doesn't have support for virtualization platforms or no drivers are installed, it might be useful to provide a fallback x86 emulator, such as QEMU TCG. This would be provided as a separate platform in a separate module (e.g. virt86-qemu-tcg) and should be available on every system, but listed last in the platform factories.

It might be interesting to add a feature to PlatformFeatures to indicate that this is a software-based platform, as oppposed to a hardware-assisted virtualization platform, since some users might be interested in differentiating between them (possibly to warn about degraded performance).

Make sure to update the Supported Platforms and Features wiki page.

PatrickvL commented 5 years ago

OpenXbox also mentions other fallback options, like libx86emu, libcpu, bochs and unicorn (although that unicorn is unusable in it's current state).

ergo720 commented 4 years ago

To add to the above comment, the project lib86cpu might also become a viable option in the (distant) future.

StrikerX3 commented 4 years ago

Good to hear @ergo720. I'm looking forward to it.