VDEV_SAFETY_*

Specify if the vdev is a safety variant, and if so the safety variant version

Synopsis:

#include <qvm/vdev-core.h>
enum {
    VDEV_SAFETY_NO = 0x55555555,
    VDEV_SAFETY_YES = 0xaaaaaaaa,
    VDEV_SAFETY_SELECTED = VDEV_SAFETY_NO
};

Data:

VDEV_SAFETY_NO

This isn't the safety version of the vdev.

VDEV_SAFETY_YES

This is the safety version of the vdev.

VDEV_SAFETY_SELECTED

Indicate the safety version of the vdev; this is only relevant if WANT_SAFETY has been selected in the system.

Library:

Provided by qvm; no external library is required.

Description:

If you are building a vdev for a system that will be safety-certified, set WANT_SAFETY, and specify the vdev version number.