Patent ID: 8635616

Claim:
A virtualization processing method, applied to a computing node, wherein the computing node comprises: a hardware layer, a Host running on the hardware layer, and at least one virtual machine (VM) running on the Host, wherein the hardware layer comprises an input/output (I/O) device, several corresponding virtual function (VF) devices are virtualized from the I/O device, the Host has several VF software instances, the several VF software instances and the several VF devices are in one-to-one correspondence; the Host further has a back-end instance (BE) of an I/O virtual device having the same type with the I/O device, the VM has a front-end instance (FE) of the I/O virtual device, wherein the BE in the Host is bound with an idle VF software instance; the method comprising: pre-allocating, by the FE, a cache for direct memory access (DMA); acquiring, by the VF software instance bound with the BE, an address corresponding to the cache for DMA through an exporting application programming interface of the BE, writing the acquired address corresponding to the cache for DMA into a first storage unit of a VF device corresponding to the VF software instance; selecting, by the VF device, the address corresponding to the cache for DMA from the first storage unit when there is data to be received, and initiating a DMA write request by using the selected address as a target address; notifying, by the VF device, the VF software instance which is corresponding to the VF device and is in the Host after the DMA write request is executed, so that the VF software instance triggers the FE to receive the data written into the cache corresponding to the address.