Constant KVM_GET_API_VERSION

Source
pub const KVM_GET_API_VERSION: IoctlReqNoArgs<KvmSystem, int>;
Expand description

Identifies the version of the KVM API used by the current kernel.

The stable API always returns version 12. The kernel documentation suggests that applications should always call this and refuse to run if it returns any value other than that; the version number is not expected to change in the future because future API additions will use KVM_CHECK_EXTENSION instead.