HviIsIommuInUse

The HviIsIommuInUse function tells whether the hypervisor is using two particular hardware features.

Declaration

BOOLEAN HviIsIommuInUse (VOID);

Return Value

The function returns TRUE or FALSE according to whether the features are used.

Availability

The HviIsIommuInUse function is exported by name from the kernel in version 10.0 and higher.

Documentation Status

The HviIsIommuInUse function is not documented.

Behaviour

If a hypervisor is present and implements cpuid leaf 0x40000006—see HviGetHardwareFeatures—the functions tests whether both DmaRemappingInUse and InterruptRemappingInUse are set in the cpuid output.