Updated: October 28, 2024 |
Specify how a qvm process instance responds if any component or vdev it uses isn't safety-certified
safety none|warn|required
Use the safety option to specify how each qvm process instance responds to the presence of uncertified (i.e., non-safety) components or vdevs.
If you don't set this bit and instead try to rename a vdev to include the -safety suffix, qvm doesn't consider this to be a safety variant.
If you specify multiple safety option instances in a VM configuration, the final option instance determines how qvm responds to the presence of uncertified components (e.g., an uncertified procnto or smmuman variant).
safety warn vdev foo safety required vdev mooIn a QHS VM for a QOS guest, this configuration issues a warning and permits the qvm process instance to continue if the foo vdev isn't a safety variant, but moves to the DSS if the moo vdev isn't a safety variant. The qvm process also moves to the DSS if any other required safety component such as procnto or smmuman isn't a safety variant.
vdev foo safety warn vdev mooIn this case, because required is the default safety setting for QHS, the qvm process instance moves to the DSS if the foo vdev isn't a safety variant. But because warn is the setting for the last safety option, the qvm process instance issues a warning but still runs if the moo vdev or any other required safety component isn't a safety variant.
For more information about how the QHS behaves when it encounters uncertified components, see QHS components in the QNX Hypervisor for Safety: Protection Features chapter.