Patent ID: 10534552

Abstract:
An SR-IOV-supported storage resource access method is disclosed, the method includes: consolidating a storage medium as a unified storage resource, and dividing the unified storage resource into multiple storage sub-resources; allocating the storage sub-resources to at least one of a PF or a VF according to a preset allocation rule, and maintaining a resource allocation table including a mapping relationship between the storage sub-resources and at least one of PF or VF; receiving a host command sent by a virtual machine to a destination VF or by a virtual machine monitor to a destination PF; and searching the resource allocation table according to destination VF or destination PF, and performing, on a storage sub-resource corresponding to destination PF or destination VF and according to the mapping relationship between the storage sub-resources and the PF or the VF in the resource allocation table, an operation corresponding to the host command.