IOCTL_SRIOV_QUERY_MITIGATED_RANGES IOCTL (pcivirt.h)

The request determines the specific ranges on which intercepts must be placed.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

A pointer to a SRIOV_MITIGATED_RANGES_INPUT structure that specifies the virtual function (VF) whose ranges are to be mitigated.

Input buffer length

The size of the SRIOV_MITIGATED_RANGES_INPUT structure.

Output buffer

A pointer to a SRIOV_MITIGATED_RANGES_OUTPUT structure that specifies the virtual function (VF) whose ranges were to mitigated.

Output buffer length

The size of the SRIOV_MITIGATED_RANGES_OUTPUT structure.

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.

Remarks

This IOCTL request is sent by the virtualization stack to the PCI Express SR-IOV Physical Function (PF) driver that exposes GUID_MITIGABLE_DEVICE_INTERFACE.

The virtualization stack uses an I/O MMU to differentiate traffic coming from the various interfaces that the device exposes, enforcing policy about which regions of memory a device can access and which interrupts it can generate.

The request is sent to the physical function (PF) by virtualization stack to get the specific ranges on which intercepts must be placed.

Requirements

Requirement Value
Header pcivirt.h
IRQL PASSIVE_LEVEL