qvm_setvar_context

Set variable contexts

Synopsis:

#include <qvm/utils.h>
enum qvm_setvar_context {
    QSVC_GLOBAL,
    QSVC_SYSTEM,
    QSVC_CPU,
    QSVC_VDEV,
    QSVC_NUM_CONTEXTS
};

Data:

QSVC_GLOBAL

The hypervisor host and all guests.

QSVC_SYSTEM

The entire guest system.

QSVC_CPU

The current vCPU.

QSVC_VDEV

The current vdev.

QSVC_NUM_CONTEXTS

The number of variable contexts supported.

Library:

Provided by qvm; no external library is required.