发明名称 Virtual Machine Live Migration Method, Virtual Machine Memory Data Processing Method, Server, and Virtual Machine System
摘要 A virtual machine live migration method and a server, to resolve a problem that live migration of a virtual machine cannot be implemented in an SR-IOV technology scenario. According to the virtual machine live migration method and the server in the embodiments of the present invention, by setting a dirty write flag, a virtual PCIE device of a to-be-migrated virtual machine performs at least one read and write operation on received data; a virtual machine manager of the to-be-migrated virtual machine can identify a change in the data and migrate changed data to a destination virtual machine, thereby resolving a problem in the prior art that data cannot be migrated during a virtual machine live migration process because the data passes through the virtual PCIE device but the virtual machine manager cannot perceive the data.
申请公布号 US2015309839(A1) 申请公布日期 2015.10.29
申请号 US201514794325 申请日期 2015.07.08
申请人 Huawei Technologies Co., Ltd. 发明人 Lu Shengwen
分类号 G06F9/48;G06F9/50;G06F9/455;G06F13/28;G06F13/42 主分类号 G06F9/48
代理机构 代理人
主权项 1. A virtual machine memory data processing method applied to a virtual machine system, wherein the virtual machine system comprises a virtual machine migration management unit, a host device, and a physical network interface card, wherein at least one virtual machine runs on the host device, wherein at least one virtual network interface card runs on the physical network interface card, wherein each virtual machine corresponds to at least one virtual network interface card, wherein the physical network interface card reads and writes data in a memory of each virtual machine in a direct memory access manner, and wherein when any virtual machine in the virtual machine system is migrated, the method comprises: receiving, by a to-be-migrated source virtual machine, a message for starting virtual machine migration that is sent by the virtual machine migration management unit; setting, by the source virtual machine, a dirty write flag according to the message for starting virtual machine migration; and reading, by the source virtual machine, the new data from the memory of the source virtual machine according to the dirty write flag when it is determined that the physical network interface card writes new data into a memory of the source virtual machine; and writing the new data into the memory of the source virtual machine again according to the dirty write flag when it is determined that the physical network interface card writes new data into a memory of the source virtual machine.
地址 Shenzhen CN