Method and apparatus for transmitting data packet based on virtual machine

    公开(公告)号:US11048535B2

    公开(公告)日:2021-06-29

    申请号:US16359036

    申请日:2019-03-20

    发明人: Hua Liu

    摘要: A method for transmitting a data packet based on a virtual machine is provided. A direct through-connection is established between the virtual machine and a network interface card. A data packet transmitted by a driver layer of the virtual machine is detected. An encapsulation parameter obtaining request is transmitted to a virtual machine monitor corresponding to the virtual machine, and encapsulation information and an encapsulation parameter are received in response to the encapsulation parameter obtaining request. The data packet is encapsulated according to the encapsulation information and the encapsulation parameter, and the encapsulated data packet is added to a hardware transmitting queue of the network interface card by using the direct through-connection to transmit the encapsulated data packet.

    Virtual machine hot migration method and apparatus, and system

    公开(公告)号:US10990431B2

    公开(公告)日:2021-04-27

    申请号:US16198469

    申请日:2018-11-21

    发明人: Hua Liu Shuai Li

    IPC分类号: G06F9/455

    摘要: This application discloses a virtual machine hot migration method performed by a virtual machine hot migration apparatus to a cloud computing system including a plurality of hosts, each host including a plurality of virtual machines. The apparatus obtains a load of each host, determines a host whose load exceeds a preset threshold as a source host, determines a to-be-hot-migrated target virtual machine in the source host; and controls the target virtual machine to be hot-migrated from the source host to a target host. According to the solutions provided in the embodiments of this application, when a load of a host is excessively high, a redundantly configured virtual machine on the host is hot-migrated to another host, thereby improving the resource utilization rate of the host when use by a user is ensured.

    Virtual machine data flow management method and system

    公开(公告)号:US10348624B2

    公开(公告)日:2019-07-09

    申请号:US15605505

    申请日:2017-05-25

    发明人: Hua Liu Fuhai Wang

    摘要: The present disclosure provides a virtual machine data flow management method. The method includes: receiving, by a host by using a specified network interface of an SR-IOV network adapter, an IP packet sent by a communication peer terminal, a target MAC address and a target IP address in the IP packet respectively being a MAC address of a specified network interface of the host and an IP address of a target virtual sub-machine; and forwarding, by the host according to the target IP address, the IP packet to a virtual connection function of the target virtual sub-machine in the same SR-IOV network adapter. Also disclosed is a virtual machine data flow management system. By means of the present disclosure, network communication performance of a virtual machine can be improved.