Updated: October 28, 2024 |
Building a QNX Hypervisor for Safety system entails adding virtualization to a QNX OS for Safety microkernel system.
With this method, you start with the BSP for a board that meets your hardware requirements to support the hypervisor, edit the buildfile to include the hypervisor module, vdevs, and other components, and otherwise configure your build, then build the host in whatever location is convenient. You can then assemble the host and its guests into an image and transfer it to your target.
This is a good method to use when you are preparing a production system, as it gives you full control of the contents and configuration of your finished system.
For step-by-step instructions on how to use this method, see Building the host and Building guests.
This method for building a hypervisor uses:
This method is probably the best method to use the first time you build a hypervisor system. It will build a system you can use to get familiar with the hypervisor and its capabilities.
For step-by-step instructions on how to use this method, see The HHBSP framework and Building in the HHBSP.
This method for building a hypervisor also uses the HHBSP framework, but doesn't require you to place the components (board-specific BSPs, guest BSPs) in specific locations. You modify the configuration file (configure.mk) or use the command line to set environment variables so you can leave BSPs outside the HHBSP framework and simply point to them.
This is probably the best method to use for prototyping when you start developing a hypervisor project. You can have different BSPs in convenient locations, modify the BSPs, and simply change environment variables to point to certain locations when you want to try new configurations and new components.
For step-by-step instructions on how to use this method, see The HHBSP framework and Building in the HHBSP.