An accelerator virtualization method, applied to a host, wherein a centralized resource manager and a virtual machine monitor run on the host, and the method comprises: receiving, by the centralized resource manager, a virtual machine resource configuration command, wherein the virtual machine resource configuration command comprises to-be-created virtual accelerator information; selecting, by the centralized resource manager, a matched physical accelerator from a physical accelerator resource pool as a matching physical accelerator according to the to-be-created virtual accelerator information in the virtual machine resource configuration command; generating, by the centralized resource manager, description information used to describe the matching physical accelerator; and sending, by the centralized resource manager, a first virtual machine creation command to the virtual machine monitor, wherein the first virtual machine creation command comprises the description information, so that after receiving the first virtual machine creation command, the virtual machine monitor creates a first virtual machine comprising a first virtual accelerator corresponding to the matching physical accelerator, wherein the first virtual accelerator is generated by using the description information; or sending, by the centralized resource manager, a second virtual machine creation command to the virtual machine monitor, wherein the second virtual machine creation command comprises a description information obtaining identifier, so that the virtual machine monitor creates a second virtual machine after receiving the second virtual machine creation command, and the second virtual machine generates a second virtual accelerator after obtaining the description information according to the description information obtaining identifier; wherein the matching physical accelerator is not on the host, and after the virtual machine monitor creates the first virtual machine or the second virtual machine, the method further comprises: sending, by the virtual machine monitor, a communication address and a matching physical accelerator identifier to a remote accelerator management unit on a node, wherein the matching physical accelerator is located on the node, so that the virtual machine monitor communicates with the remote accelerator management unit by using the communication address, and the remote accelerator management unit communicates with a corresponding matching physical accelerator by using the matching physical accelerator identifier. receiving, by the centralized resource manager, a virtual machine resource configuration command, wherein the virtual machine resource configuration command comprises to-be-created virtual accelerator information; selecting, by the centralized resource manager, a matched physical accelerator from a physical accelerator resource pool as a matching physical accelerator according to the to-be-created virtual accelerator information in the virtual machine resource configuration command; generating, by the centralized resource manager, description information used to describe the matching physical accelerator; and sending, by the centralized resource manager, a first virtual machine creation command to the virtual machine monitor, wherein the first virtual machine creation command comprises the description information, so that after receiving the first virtual machine creation command, the virtual machine monitor creates a first virtual machine comprising a first virtual accelerator corresponding to the matching physical accelerator, wherein the first virtual accelerator is generated by using the description information; or sending, by the centralized resource manager, a second virtual machine creation command to the virtual machine monitor, wherein the second virtual machine creation command comprises a description information obtaining identifier, so that the virtual machine monitor creates a second virtual machine after receiving the second virtual machine creation command, and the second virtual machine generates a second virtual accelerator after obtaining the description information according to the description information obtaining identifier; wherein the matching physical accelerator is not on the host, and after the virtual machine monitor creates the first virtual machine or the second virtual machine, the method further comprises: sending, by the virtual machine monitor, a communication address and a matching physical accelerator identifier to a remote accelerator management unit on a node, wherein the matching physical accelerator is located on the node, so that the virtual machine monitor communicates with the remote accelerator management unit by using the communication address, and the remote accelerator management unit communicates with a corresponding matching physical accelerator by using the matching physical accelerator identifier.