CN111736945A - Virtual machine thermal migration method, device, equipment and medium based on intelligent network card - Google Patents

Virtual machine thermal migration method, device, equipment and medium based on intelligent network card Download PDF

Info

Publication number
CN111736945A
CN111736945A CN201910726632.9A CN201910726632A CN111736945A CN 111736945 A CN111736945 A CN 111736945A CN 201910726632 A CN201910726632 A CN 201910726632A CN 111736945 A CN111736945 A CN 111736945A
Authority
CN
China
Prior art keywords
virtual machine
network card
intelligent network
write
migrated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910726632.9A
Other languages
Chinese (zh)
Other versions
CN111736945B (en
Inventor
廖恬瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910726632.9A priority Critical patent/CN111736945B/en
Publication of CN111736945A publication Critical patent/CN111736945A/en
Application granted granted Critical
Publication of CN111736945B publication Critical patent/CN111736945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a virtual machine live migration method, a device, equipment and a medium based on an intelligent network card, wherein the intelligent network card comprises a write recording module, the write recording module is used for recording data storage path information corresponding to write operation of the intelligent network card to a virtual machine on a physical host to which the intelligent network card belongs and/or data storage path information corresponding to write operation of the virtual machine to the intelligent network card, and the method comprises the following steps: acquiring a virtual machine identifier to be migrated and a target virtual machine identifier which are contained in a detected virtual machine migration instruction; based on the data storage path information recorded in the writing recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated, the storage data corresponding to the virtual machine identifier to be migrated is migrated to the memory corresponding to the target virtual machine identifier, and when the virtual machine is migrated, data migration is performed through the data storage path information recorded in the writing recording module, so that the virtual machine performance is guaranteed, and the virtual machine migration operation is simplified.

Description

Virtual machine thermal migration method, device, equipment and medium based on intelligent network card
Technical Field
The embodiment of the invention relates to the field of computers, in particular to a virtual machine live migration method, device, equipment and medium based on an intelligent network card.
Background
The cloud computing system generally comprises a control device and a physical host, wherein the control device can simulate and create one or more virtual machines on one physical host through a virtualization platform, and the virtual machines work like real computers. A physical host typically creates multiple virtual machines that can run on the physical host to perform the corresponding functions requested by the user, in some cases, such as: when a physical host fails or potential safety hazards exist, in order to ensure that the use of the virtual machine by a user is not affected, the virtual machine on the physical host needs to be migrated to other physical hosts.
At present, a virtual machine is mainly realized through a software virtual device or an intelligent network card, but virtual machine migration realized through the software virtual device and the intelligent network card is realized through the software virtual device. Illustratively, the virtual machine migration method based on the software virtual device is as follows: and identifying the internal working state of the virtual machine corresponding to the physical host through the software virtual equipment, and migrating the virtual machine based on the internal working state of the virtual machine. The method for migrating the virtual machine based on the intelligent network card comprises the following steps: two virtual devices are simultaneously hung in the virtual machines for each virtual machine, one virtual device in a direct connection mode provided by intelligent network card equipment and one virtual device of software provided by a virtualization platform. When the virtual machine is required to be migrated, the virtual device of the intelligent network card is stopped, the virtual machine is switched to the software virtual device provided by the virtualization platform to work, and then the virtual machine is migrated according to the virtual machine migration mode based on the software virtual device.
In the process of implementing the invention, the inventor finds that at least the following technical problems exist in the prior art: software virtual equipment occupies more computing capacity of a Central Processing Unit (CPU) in virtual machine live migration based on the software virtual equipment, all operations of the virtual machine realized based on the software virtual equipment need software transfer, performance is poor, a specific dual-device driver needs to be installed in the virtual machine in virtual machine live migration based on an intelligent network card, switching between dual devices is supported, compatibility between the devices is poor, and in addition, a read-write operation request may be lost when the dual devices are switched.
Disclosure of Invention
The embodiment of the invention provides a virtual machine live migration method, a virtual machine live migration device, virtual machine live migration equipment and a virtual machine live migration medium based on an intelligent network card, which are used for simplifying virtual machine migration operation while ensuring the performance of a virtual machine.
In a first aspect, an embodiment of the present invention provides a virtual machine live migration method based on an intelligent network card, where the intelligent network card includes a write recording module, where the write recording module is configured to record data storage path information corresponding to a write operation of the intelligent network card to a virtual machine on a physical host to which the intelligent network card belongs and/or data storage path information corresponding to a write operation of the virtual machine to the intelligent network card, and the method includes:
acquiring a virtual machine identifier to be migrated and a target virtual machine identifier which are contained in a detected virtual machine migration instruction;
and migrating the storage data corresponding to the identification of the virtual machine to be migrated to the memory corresponding to the identification of the target virtual machine based on the data storage path information recorded in the writing recording module in the intelligent network card corresponding to the identification of the virtual machine to be migrated.
In a second aspect, an embodiment of the present invention further provides a virtual machine live migration apparatus based on an intelligent network card, where the intelligent network card includes a write recording module, and the write recording module is configured to record data storage path information corresponding to a write operation of the intelligent network card to a virtual machine on a physical host to which the intelligent network card belongs and/or data storage path information corresponding to a write operation of the virtual machine to the intelligent network card, and the apparatus includes:
the virtual machine identifier acquisition module is used for acquiring a virtual machine identifier to be migrated and a target virtual machine identifier which are contained in the detected virtual machine migration instruction;
and the virtual machine data migration module is used for migrating the storage data corresponding to the virtual machine identifier to be migrated to the memory corresponding to the target virtual machine identifier based on the data storage path information recorded in the write recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for live migration of a virtual machine based on an intelligent network card according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for live migration of a virtual machine based on an intelligent network card according to any embodiment of the present invention.
The embodiment of the invention obtains the identification of the virtual machine to be migrated and the identification of the target virtual machine contained in the detected virtual machine migration instruction; and migrating the storage data corresponding to the virtual machine identifier to be migrated to the memory corresponding to the target virtual machine identifier based on the data storage path information recorded in the writing recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated, and migrating the virtual machine based on the writing recording module in the intelligent network card, so that the running performance of the virtual machine is ensured and the migration operation of the virtual machine is simplified.
Drawings
Fig. 1 is a flowchart of a virtual machine live migration method based on an intelligent network card according to an embodiment of the present invention;
fig. 2 is a flowchart of a virtual machine live migration method based on an intelligent network card according to a second embodiment of the present invention;
fig. 3a is a flowchart of a virtual machine live migration method based on an intelligent network card according to a third embodiment of the present invention;
fig. 3b is a schematic structural diagram of an intelligent network card in the virtual machine live migration method based on the intelligent network card according to the third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a virtual machine live migration apparatus based on an intelligent network card according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a virtual machine live migration method based on an intelligent network card according to an embodiment of the present invention. The embodiment can be applied to the situation when the virtual machine is subjected to the hot migration. The method can be executed by a virtual machine live migration device based on an intelligent network card, and the virtual machine live migration device based on the intelligent network card can be implemented in a software and/or hardware manner, for example, the virtual machine live migration device based on the intelligent network card can be configured in a computer device. As shown in fig. 1, the method includes:
s110, acquiring the identification of the virtual machine to be migrated and the identification of the target virtual machine contained in the detected virtual machine migration instruction.
In this embodiment, the migration of the virtual machine may be performed through the virtual machine platform. The virtual machine migration instruction may be a migration instruction input by a user, or a virtual machine migration instruction generated according to a migration requirement. The virtual machine migration instruction comprises a virtual machine identifier to be migrated and a destination virtual machine identifier, and is used for indicating that data in a virtual machine corresponding to the virtual machine identifier to be migrated is migrated to a virtual machine corresponding to the destination virtual machine identifier. Optionally, after the virtual machine migration instruction is detected, the virtual machine migration instruction is analyzed to obtain the identifier of the virtual machine to be migrated and the identifier of the target virtual machine, which are included in the virtual machine migration instruction. Illustratively, the virtual machine identifier to be migrated and the destination virtual machine identifier may be resolved from the virtual machine migration instruction by a keyword matching method.
And S120, migrating the storage data corresponding to the identification of the virtual machine to be migrated to the memory corresponding to the identification of the target virtual machine based on the data storage path information recorded in the writing recording module in the intelligent network card corresponding to the identification of the virtual machine to be migrated.
In this embodiment, the intelligent network card includes a write recording module, where the write recording module is configured to record data storage path information corresponding to a write operation of the intelligent network card to a virtual machine on a physical host to which the intelligent network card belongs and/or data storage path information corresponding to a write operation of the virtual machine to the intelligent network card. Optionally, a write recording module may be disposed on the intelligent network card, and when the intelligent network card performs a write operation to a virtual machine on a physical host to which the intelligent network card belongs, a data storage path corresponding to the write operation is recorded, and/or when the virtual machine performs a write operation to the intelligent network card, a data storage path corresponding to the write operation is recorded, so that a configuration operation of the virtual machine or a write operation from the intelligent network card to the virtual machine can be obtained based on the intelligent network card, a technical problem that a virtualization platform cannot monitor the write operation between the virtual machine and the intelligent network card through the intelligent network card in the prior art is solved, and live migration of the virtual machine based on the intelligent network card is achieved.
In an embodiment of the present invention, migrating, based on data storage path information recorded in a writing recording module in an intelligent network card corresponding to the identifier of the virtual machine to be migrated, storage data corresponding to the identifier of the virtual machine to be migrated to a memory corresponding to the identifier of the destination virtual machine, includes: migrating the stored data stored in the memory corresponding to the virtual machine identifier to be migrated to the memory corresponding to the target virtual machine identifier; after the stored data are migrated, controlling an intelligent network card to stop the read-write function of the virtual machine corresponding to the identifier of the virtual machine to be migrated, and monitoring the read-write state of the current read-write operation in the intelligent network card; after the current read-write operation is completed, determining dirty page data to be migrated corresponding to the virtual machine identifier to be migrated based on the data storage path information, and migrating the dirty page data to be migrated to a memory corresponding to the target virtual machine identifier.
Optionally, when performing thermal migration of the virtual machine, copying stored data in the memory of the virtual machine to be migrated, migrating the copied data to the memory of the destination virtual machine, recording write operation between the intelligent network card and the virtual machine to be migrated during the migration process by the write recording module of the intelligent network card, after the migration of the stored data is completed, stopping the CPU of the virtual machine to be migrated by the virtualization platform, monitoring the current I/O operation state in the intelligent network card, after the current I/O operation in the intelligent network card is completed, stopping the read/write operation of both the virtual machine to be migrated and the intelligent network card, then determining data to be migrated in the memory of the virtual machine to be migrated based on data storage path information corresponding to the write operation of the virtual machine on the physical host to which the intelligent network card belongs and the physical page table of the physical host, which are recorded by the write recording module of the intelligent network card, and migrating dirty page data to be migrated to a memory of a target virtual machine, configuring the target virtual machine, connecting the configured virtualization equipment to the target virtual machine in a virtualization platform of the target virtual machine, and starting the target virtual machine, namely completing the migration of the virtual machine.
In one embodiment, the monitoring the read-write state of the current read-write operation in the intelligent network card includes: and acquiring the read-write state of the virtual equipment corresponding to the virtual machine to be migrated in the intelligent network card, and determining the read-write state of the current read-write operation in the intelligent network card according to the read-write state of the virtual equipment. It can be understood that a state recording module may be provided in the intelligent network card, and is configured to record an operation state of the read-write operation executed by each virtual device in the intelligent network card. When the read-write operation executed by the virtual device corresponding to the virtual machine to be migrated in the intelligent network card is required to be monitored, the read-write state corresponding to the virtual device recorded in the state recording module is read, and when the read-write state of the virtual device corresponding to the virtual machine to be migrated in the intelligent network card is completed, the current read-write operation in the intelligent network card is indicated to be completed.
The embodiment of the invention obtains the identification of the virtual machine to be migrated and the identification of the target virtual machine contained in the detected virtual machine migration instruction; and migrating the storage data corresponding to the virtual machine identifier to be migrated to the memory corresponding to the target virtual machine identifier based on the data storage path information recorded in the writing recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated, and migrating the virtual machine based on the writing recording module in the intelligent network card, so that the running performance of the virtual machine is ensured and the migration operation of the virtual machine is simplified.
Example two
Fig. 2 is a flowchart of a virtual machine live migration method based on an intelligent network card according to a second embodiment of the present invention. The present embodiment is optimized based on the above embodiments. As shown in fig. 2, the method includes:
s210, acquiring the identification of the virtual machine to be migrated and the identification of the target virtual machine contained in the detected virtual machine migration instruction.
S220, migrating the stored data stored in the memory corresponding to the virtual machine identifier to be migrated to the memory corresponding to the destination virtual machine identifier.
And S230, after the stored data is migrated, controlling the intelligent network card to stop the read-write function of the virtual machine corresponding to the identifier of the virtual machine to be migrated, and monitoring the read-write state of the current read-write operation in the intelligent network card.
S240, after the current read-write operation is completed, first data storage path information corresponding to the write operation of the central processing unit of the physical host to which the intelligent network card belongs, recorded by the page table of the physical machine, to the virtual machine on the physical host to which the intelligent network card belongs is obtained, and data corresponding to the first data storage path information is used as first dirty page data.
In this embodiment, a write operation to a virtual machine on a host to which the smart network card belongs may be performed in two ways, one is to perform a write operation to the virtual machine through a Central Processing Unit (CPU) of a physical host, and the other is to perform a write operation to the virtual machine through a Direct Memory Access (DMA) way.
And S250, determining a data writing address of the write operation corresponding to the direct memory access mode according to the data storage path information recorded in the write recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated, and taking the data corresponding to the data writing address as second dirty page data.
In this embodiment, the write recording module includes a first write recording module, and the first write recording module is configured to record data storage path information corresponding to a write operation from the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs in a direct memory access manner. Optionally, the data storage path information corresponding to the write operation of the intelligent network card recorded by the first write recording module to the virtual machine on the physical host to which the intelligent network card belongs in the direct memory access manner may be used as the second data storage path information.
In an embodiment, the second data storage path information may be all direct storage addresses of write data corresponding to write operations of the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs in a direct memory access manner.
In one embodiment, the determining, by the data storage path information including a direct storage start address and a data storage length, a data write address of a write operation corresponding to a direct memory access mode according to the data storage path information recorded in a write recording module in the intelligent network card corresponding to the identifier of the virtual machine to be migrated includes: and determining the data writing address of the writing operation corresponding to the direct memory access mode according to the direct memory initial address and the data storage length. Optionally, the second data storage path may also be a direct storage start address and a data storage length. The virtualization platform can obtain write-in data corresponding to write operation of the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs in a direct memory access mode according to the direct storage starting address and the data storage length, and take the obtained write-in data as second dirty page data.
And S260, taking the first dirty page data and the second dirty page data as dirty page data to be migrated, and migrating the dirty page data to be migrated to a memory corresponding to the destination virtual machine identifier.
And taking first dirty page data corresponding to the write operation of the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs in a non-direct memory access mode and second dirty page data corresponding to the write operation of the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs in a direct memory access mode as dirty page data to be migrated, and migrating the first dirty page data and the second dirty page data to the memory of the target virtual machine.
According to the technical scheme of the embodiment of the invention, dirty page data to be migrated corresponding to the virtual machine identification to be migrated is determined based on the data storage path information, first data storage path information corresponding to write operation of an intelligent network card recorded by a physical machine page table to a virtual machine on a physical host to which the intelligent network card belongs is obtained in a non-direct memory access mode, and data corresponding to the first data storage path information is used as first dirty page data; determining a data writing address of the write operation corresponding to the direct memory access mode according to data storage path information recorded in a write recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated, and taking data corresponding to the data writing address as second dirty page data; and taking the first dirty page data and the second dirty page data as the dirty page data to be migrated, so that the data to be migrated can be acquired more accurately.
On the basis of the above scheme, before writing the data storage path information recorded in the recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated based on the data storage path information, and migrating the storage data corresponding to the virtual machine identifier to be migrated to the memory corresponding to the destination virtual machine identifier, the method further includes:
and generating a write record instruction according to the virtual machine migration instruction, and sending the write record instruction to the intelligent network card so that a first write record module corresponding to the write record instruction in the intelligent network card starts to record data storage path information corresponding to write operation of the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs.
In this embodiment, the data storage path information corresponding to the write operation from the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs, which is recorded by the first write recording module in the intelligent network card, is used only when the virtual machine is migrated, and is not used when the virtual machine is normally used. Therefore, when the virtual machine works normally, the recording operation of the first writing recording module in the intelligent network card can be closed, and when the virtual machine migrates, the recording operation of the first writing recording module in the intelligent network card is started. Optionally, after the virtual machine migration instruction is detected, a write recording instruction including the identifier of the virtual machine to be migrated is generated according to the virtual machine migration instruction, and the write recording instruction is sent to the intelligent network card, so that a first write recording module in the intelligent network card starts to record data storage path information corresponding to the write operation of the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs. It should be noted that the data storage path information corresponding to the write operation from the virtual machine to the intelligent network card, which is recorded by the second write recording module in the intelligent network card, needs to be recorded in real time.
On the basis of the above scheme, the write recording module further includes a second write recording module, where the second write recording module is configured to record data storage path information corresponding to a write operation from the virtual machine to the intelligent network card, and the method further includes: and acquiring configuration information of the intelligent network card corresponding to the virtual machine to be migrated according to the data storage path information corresponding to the write operation of the virtual machine to the intelligent network card, and configuring the intelligent network card corresponding to the target virtual machine based on the configuration information.
Optionally, the write recording module further includes a second write recording module, configured to record data storage path information corresponding to a write operation from the virtual machine to the intelligent network card. Generally, the write data corresponding to the write operation of the virtual machine to the intelligent network card is generally configuration information of the virtual machine, state information of the virtual machine, and the like, the configuration information and the working state of the virtual machine to be migrated can be directly obtained by recording data storage path information corresponding to the write operation of the virtual machine to the intelligent network card through the second write recording module, after the migration of the memory data of the virtual machine to be migrated is completed, the configuration data and the state data of the virtual machine can be obtained according to the data path information recorded by the second write recording module, and the configuration of the target virtual machine is performed based on the obtained configuration data and the state data, so that the configuration of the target virtual machine is more convenient and faster.
EXAMPLE III
Fig. 3a is a flowchart of a virtual machine live migration method based on an intelligent network card according to a third embodiment of the present invention. On the basis of the above embodiments, the present embodiment provides a preferred embodiment by taking voice intelligent customer service as an example. Fig. 3b is a schematic structural diagram of an intelligent network card in the virtual machine live migration method based on the intelligent network card according to the third embodiment of the present invention. As shown in fig. 3b, the smart network card includes a PCIE interface 310, a DMA write record module 320, a CFG write record module 330, a back door read-write module 340, an ARB module 350, and an ETH interface 360. Compared with the existing intelligent network card, the intelligent network card provided by the embodiment of the invention is additionally provided with the virtual device configuration recording module for recording the relevant state of the virtual device and facilitating the reading and recovery of the device state of the thermal migration, the DMA write recording module of the additionally arranged virtual device is used for recording the DMA write operation of the virtual device and facilitating the discovery and recovery of dirty pages during the thermal migration, and the back door read-write module of the additionally arranged virtual device is used for reading and writing the state of the virtual device in the intelligent network card by the virtualization platform.
In this embodiment, the intelligent network card is connected to the physical host through the PCIE interface 310, so as to implement a data path for configuration read/write and DMA read/write of the intelligent network card; the virtual device 0, the virtual device 1, the virtual device 2 and the virtual device 3 represent a plurality of virtual devices in the intelligent network card, so that the functions of network card devices or block devices are realized, each virtual device corresponds to a different virtual machine, and the internal related states of the virtual devices can be recorded into a virtual device state table when the virtual devices work; the ARB module 350 enables a plurality of virtual devices to share one physical ethernet interface; the ETH interface 360 intelligent network card is connected with an external network through the interface; the CFG write recording module 330 is located on a register read-write path of the CPU configuration virtual device, and recognizes all the virtual device configuration write operations, and then records the configuration value to the virtual device state table; the virtual equipment state table takes the virtual equipment number and the address of the configuration register as indexes and stores the configuration value of the relevant virtual equipment and the value of the working state register; the DMA write recording module 320 is located on a path of a DMA read-write host memory of the virtual device, and is configured to identify DMA write operations of all the virtual devices, and then record DMA write information of the virtual device in a live migration state, including a virtual device identifier, a DMA write address, and a write length, in a DMA write recording table; a DMA write record table, which takes the virtual device number as the address and records the DMA write address and length therein; the back door read-write module 340 maps the virtual device state table and the DMA write record table to an address space accessible by the virtualization platform of the physical machine, and provides a path for the virtualization platform to access the table entry.
As shown in fig. 3a, the method comprises:
s301, under the normal working state of the virtual machine, the virtualization platform marks that the virtual machine enters a live migration state.
And S302, enabling the virtualization platform to enter a live migration state through marking the corresponding virtual equipment by the back door read-write module of the intelligent network card.
And S303, copying the memory of the virtual machine by the virtualization platform, and copying the memory into the target virtual machine.
S304, the DMA write recording module of the intelligent network card starts to record the DMA write information of the relevant virtual equipment to the DMA write recording table.
S305, recording a dirty memory page caused by new memory writing of the virtual machine by a physical machine page table.
S306, after the first memory copy is completed, the virtualization platform stops the CPU work of the virtual machine and waits for all the ongoing IO operations of the virtual equipment to be completed.
And S307, the virtualization platform controls the related virtual equipment to stop processing of the new IO request through the backdoor read-write module, reads the working state of the virtual equipment, and waits for the virtual equipment to finish all ongoing IO operations.
And S308, after the relevant virtual equipment completes all the ongoing IO operations, the virtualization platform copies all dirty pages in the memory to the target virtual machine again. In addition, the related dirty pages are also copied to the destination virtual machine according to the DMA address and the length recorded in the DMA write record table.
S309, the virtualization platform reads the virtual equipment state table in the intelligent network card through the backdoor reading and writing module.
And S310, in the target virtualization platform, the virtualization platform writes the content of the device state table into a new device state table through the back door read-write module.
S311, starting the new virtual machine, and continuing all states of the original virtual machine by the virtual machine to normally work on the new physical machine.
According to the technical scheme of the embodiment of the invention, the intelligent network card is additionally provided with the related live migration module and the software access interface, so that the virtual equipment in the intelligent network card can be observed and controlled, the virtual machine live migration based on special hardware is realized, the IO operation is still completed by the intelligent network card in the live migration process, the software virtual equipment is not required to be switched, the virtual machine performance in the live migration process is ensured, the delay of the live migration is reduced, the virtual machine does not sense the live migration process, the related new driver is not required to be installed, and the compatibility is better.
Example four
Fig. 4 is a schematic structural diagram of a virtual machine live migration apparatus based on an intelligent network card according to a fourth embodiment of the present invention. The virtual machine live migration apparatus based on the intelligent network card may be implemented in a software and/or hardware manner, for example, the virtual machine live migration apparatus based on the intelligent network card may be configured in a computer device. In this embodiment, the intelligent network card includes a write recording module, where the write recording module is configured to record data storage path information corresponding to a write operation from the intelligent network card to a virtual machine on a physical host to which the intelligent network card belongs and/or data storage path information corresponding to a write operation from the virtual machine to the intelligent network card, as shown in fig. 4, the apparatus includes a virtual machine identifier obtaining module 410 and a virtual machine data migration module 420, where:
a virtual machine identifier obtaining module 410, configured to obtain a virtual machine identifier to be migrated and a destination virtual machine identifier, which are included in the detected virtual machine migration instruction;
and the virtual machine data migration module 420 is configured to migrate the storage data corresponding to the identifier of the virtual machine to be migrated to the memory corresponding to the identifier of the destination virtual machine based on the data storage path information recorded in the write recording module in the intelligent network card corresponding to the identifier of the virtual machine to be migrated.
In the embodiment of the invention, a virtual machine identifier acquisition module is used for acquiring the identifier of the virtual machine to be migrated and the identifier of the target virtual machine which are contained in the detected virtual machine migration instruction; the virtual machine data migration module migrates the storage data corresponding to the virtual machine identifier to be migrated to the memory corresponding to the target virtual machine identifier based on the data storage path information recorded in the write recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated, and the virtual machine is migrated through the write recording module in the intelligent network card, so that the virtual machine operation performance is guaranteed, and the virtual machine migration operation is simplified.
On the basis of the above scheme, the virtual machine data migration module 420 includes:
a stored data migration unit, configured to migrate the stored data stored in the memory corresponding to the identifier of the virtual machine to be migrated to the memory corresponding to the identifier of the destination virtual machine;
the read-write function stopping unit is used for controlling the intelligent network card to stop the read-write function of the virtual machine corresponding to the identifier of the virtual machine to be migrated and monitoring the read-write state of the current read-write operation in the intelligent network card after the stored data is migrated;
and the dirty page data migration unit is configured to determine, based on the data storage path information, dirty page data to be migrated corresponding to the virtual machine identifier to be migrated after the current read-write operation is completed, and migrate the dirty page data to be migrated to a memory corresponding to the destination virtual machine identifier.
On the basis of the above scheme, the write recording module includes a first write recording module, the first write recording module is configured to record data storage path information corresponding to a write operation of the intelligent network card to a virtual machine on a physical host to which the intelligent network card belongs in a direct memory access manner, and the dirty page data migration unit is specifically configured to:
acquiring first data storage path information, recorded by a page table of a physical machine, corresponding to write operation of a central processing unit of a physical host to which the intelligent network card belongs to a virtual machine on the physical host to which the intelligent network card belongs, and taking data corresponding to the first data storage path information as first dirty page data;
determining a data writing address of the write operation corresponding to the direct memory access mode according to data storage path information recorded in a write recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated, and taking data corresponding to the data writing address as second dirty page data;
and taking the first dirty page data and the second dirty page data as the dirty page data to be migrated.
On the basis of the above scheme, the data storage path information includes a direct storage start address and a data storage length, and the dirty page data migration unit is specifically configured to:
and determining the data writing address of the writing operation corresponding to the direct memory access mode according to the direct memory starting address and the data storage length.
On the basis of the above scheme, the write recording module further includes a second write recording module, where the second write recording module is configured to record data storage path information corresponding to a write operation from the virtual machine to the intelligent network card, and the apparatus further includes:
and the configuration information configuration module is used for acquiring the configuration information of the intelligent network card corresponding to the virtual machine to be migrated according to the data storage path information corresponding to the write operation of the virtual machine to the intelligent network card, and configuring the intelligent network card corresponding to the target virtual machine based on the configuration information.
On the basis of the above scheme, the read-write function stopping unit is specifically configured to:
and acquiring the read-write state of the virtual equipment corresponding to the virtual machine to be migrated in the intelligent network card, and determining the read-write state of the current read-write operation in the intelligent network card according to the read-write state of the virtual equipment.
On the basis of the above scheme, the apparatus further comprises:
and the writing record instruction sending module is used for generating a writing record instruction according to the virtual machine migration instruction before the storage data corresponding to the virtual machine identifier to be migrated is migrated to the memory corresponding to the target virtual machine identifier based on the data storage path information recorded in the writing record module in the intelligent network card corresponding to the virtual machine identifier to be migrated, and sending the writing record instruction to the intelligent network card so that a first writing record module corresponding to the writing record instruction in the intelligent network card starts to record the data storage path information corresponding to the writing operation of the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs.
The virtual machine live migration device based on the intelligent network card provided by the embodiment of the invention can execute the virtual machine live migration method based on the intelligent network card provided by any embodiment, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a computer device according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary computer device 512 suitable for use in implementing embodiments of the present invention. The computer device 512 shown in FIG. 5 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 5, computer device 512 is in the form of a general purpose computing device. Components of computer device 512 may include, but are not limited to: one or more processors 516, a system memory 528, and a bus 518 that couples the various system components including the system memory 528 and the processors 516.
Bus 518 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and processor 516, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 512 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 512 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 528 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)530 and/or cache memory 532. The computer device 512 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage 534 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD ROM, DVD ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 518 through one or more data media interfaces. Memory 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 540 having a set (at least one) of program modules 542, including but not limited to an operating system, one or more application programs, other program modules, and program data, may be stored in, for example, the memory 528, each of which examples or some combination may include an implementation of a network environment. The program modules 542 generally perform the functions and/or methods of the described embodiments of the invention.
The computer device 512 may also communicate with one or more external devices 514 (e.g., keyboard, pointing device, display 524, etc.), with one or more devices that enable a user to interact with the computer device 512, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 512 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 522. Also, computer device 512 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 520. As shown, the network adapter 520 communicates with the other modules of the computer device 512 via the bus 518. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the computer device 512, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 516 executes programs stored in the system memory 528, so as to execute various functional applications and data processing, for example, implement the method for live migration of a virtual machine based on an intelligent network card according to the embodiment of the present invention, where the method includes:
acquiring a virtual machine identifier to be migrated and a target virtual machine identifier which are contained in a detected virtual machine migration instruction;
and migrating the storage data corresponding to the identification of the virtual machine to be migrated to the memory corresponding to the identification of the target virtual machine based on the data storage path information recorded in the writing recording module in the intelligent network card corresponding to the identification of the virtual machine to be migrated.
Of course, those skilled in the art can understand that the processor may also implement the technical solution of the virtual machine live migration method based on the intelligent network card provided in any embodiment of the present invention.
EXAMPLE six
The sixth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for live migration of a virtual machine based on an intelligent network card, where the method includes:
acquiring a virtual machine identifier to be migrated and a target virtual machine identifier which are contained in a detected virtual machine migration instruction;
and migrating the storage data corresponding to the identification of the virtual machine to be migrated to the memory corresponding to the identification of the target virtual machine based on the data storage path information recorded in the writing recording module in the intelligent network card corresponding to the identification of the virtual machine to be migrated.
Of course, the computer program stored on the computer-readable storage medium provided in the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the virtual machine live migration method based on the intelligent network card provided in any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CDROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A virtual machine live migration method based on an intelligent network card is characterized in that the intelligent network card comprises a write recording module, the write recording module is used for recording data storage path information corresponding to write operation of the intelligent network card to a virtual machine on a physical host machine to which the intelligent network card belongs and/or data storage path information corresponding to write operation of the virtual machine to the intelligent network card, and the method comprises the following steps:
acquiring a virtual machine identifier to be migrated and a target virtual machine identifier which are contained in a detected virtual machine migration instruction;
and migrating the storage data corresponding to the identification of the virtual machine to be migrated to the memory corresponding to the identification of the target virtual machine based on the data storage path information recorded in the writing recording module in the intelligent network card corresponding to the identification of the virtual machine to be migrated.
2. The method according to claim 1, wherein migrating the storage data corresponding to the identifier of the virtual machine to be migrated to the memory corresponding to the identifier of the destination virtual machine based on the data storage path information recorded in the write recording module in the intelligent network card corresponding to the identifier of the virtual machine to be migrated, comprises:
migrating the stored data stored in the memory corresponding to the virtual machine identifier to be migrated to the memory corresponding to the target virtual machine identifier;
after the stored data are migrated, controlling an intelligent network card to stop the read-write function of the virtual machine corresponding to the identifier of the virtual machine to be migrated, and monitoring the read-write state of the current read-write operation in the intelligent network card;
after the current read-write operation is completed, determining dirty page data to be migrated corresponding to the virtual machine identifier to be migrated based on the data storage path information, and migrating the dirty page data to be migrated to a memory corresponding to the target virtual machine identifier.
3. The method according to claim 2, wherein the write recording module includes a first write recording module, the first write recording module is configured to record data storage path information corresponding to a write operation of the intelligent network card to a virtual machine on a physical host to which the intelligent network card belongs in a direct memory access manner, and the determining, based on the data storage path information, dirty page data to be migrated corresponding to the identifier of the virtual machine to be migrated includes:
acquiring first data storage path information, recorded by a page table of a physical machine, corresponding to write operation of a central processing unit of a physical host to which the intelligent network card belongs to a virtual machine on the physical host to which the intelligent network card belongs, and taking data corresponding to the first data storage path information as first dirty page data;
determining a data writing address of the write operation corresponding to the direct memory access mode according to data storage path information recorded in a write recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated, and taking data corresponding to the data writing address as second dirty page data;
and taking the first dirty page data and the second dirty page data as the dirty page data to be migrated.
4. The method according to claim 3, wherein the data storage path information includes a direct storage start address and a data storage length, and the determining, according to the data storage path information recorded in the write recording module in the intelligent network card corresponding to the identifier of the virtual machine to be migrated, the data write address of the write operation corresponding to the direct memory access mode includes:
and determining the data writing address of the writing operation corresponding to the direct memory access mode according to the direct memory starting address and the data storage length.
5. The method according to claim 3, wherein the write recording module further includes a second write recording module, and the second write recording module is configured to record data storage path information corresponding to a write operation of the virtual machine to the intelligent network card, and the method further includes:
and acquiring configuration information of the intelligent network card corresponding to the virtual machine to be migrated according to the data storage path information corresponding to the write operation of the virtual machine to the intelligent network card, and configuring the intelligent network card corresponding to the target virtual machine based on the configuration information.
6. The method according to claim 5, wherein the monitoring the read-write status of the current read-write operation in the intelligent network card comprises:
and acquiring the read-write state of the virtual equipment corresponding to the virtual machine to be migrated in the intelligent network card, and determining the read-write state of the current read-write operation in the intelligent network card according to the read-write state of the virtual equipment.
7. The method according to claim 3, wherein before writing data storage path information recorded in a recording module in the intelligent network card corresponding to the identifier of the virtual machine to be migrated and migrating the storage data corresponding to the identifier of the virtual machine to be migrated to the memory corresponding to the identifier of the destination virtual machine, the method further comprises:
and generating a write record instruction according to the virtual machine migration instruction, and sending the write record instruction to the intelligent network card so that a first write record module corresponding to the write record instruction in the intelligent network card starts to record data storage path information corresponding to write operation of the intelligent network card to the virtual machine on the physical host to which the intelligent network card belongs.
8. The utility model provides a virtual machine thermophoresis device based on intelligent network card, its characterized in that, include in the intelligent network card and write the record module, write the record module and be used for recording the data storage route information that the write operation of intelligent network card to the virtual machine on the physics host computer that intelligent network card belongs to corresponds and/or the data storage route information that the write operation of virtual machine to the intelligent network card corresponds, the device includes:
the virtual machine identifier acquisition module is used for acquiring a virtual machine identifier to be migrated and a target virtual machine identifier which are contained in the detected virtual machine migration instruction;
and the virtual machine data migration module is used for migrating the storage data corresponding to the virtual machine identifier to be migrated to the memory corresponding to the target virtual machine identifier based on the data storage path information recorded in the write recording module in the intelligent network card corresponding to the virtual machine identifier to be migrated.
9. A computer device, the device comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the intelligent network card based virtual machine live migration method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method for intelligent network card-based virtual machine live migration according to any one of claims 1 to 7.
CN201910726632.9A 2019-08-07 2019-08-07 Virtual machine thermomigration method, device, equipment and medium based on intelligent network card Active CN111736945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910726632.9A CN111736945B (en) 2019-08-07 2019-08-07 Virtual machine thermomigration method, device, equipment and medium based on intelligent network card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910726632.9A CN111736945B (en) 2019-08-07 2019-08-07 Virtual machine thermomigration method, device, equipment and medium based on intelligent network card

Publications (2)

Publication Number Publication Date
CN111736945A true CN111736945A (en) 2020-10-02
CN111736945B CN111736945B (en) 2024-05-17

Family

ID=72645933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910726632.9A Active CN111736945B (en) 2019-08-07 2019-08-07 Virtual machine thermomigration method, device, equipment and medium based on intelligent network card

Country Status (1)

Country Link
CN (1) CN111736945B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256391A (en) * 2020-10-22 2021-01-22 海光信息技术股份有限公司 Virtual machine memory migration method, device and equipment
CN113485981A (en) * 2021-08-12 2021-10-08 北京青云科技股份有限公司 Data migration method and device, computer equipment and storage medium
WO2022143717A1 (en) * 2020-12-29 2022-07-07 华为云计算技术有限公司 Method, apparatus, and system for migrating virtual machine
WO2023093418A1 (en) * 2021-11-26 2023-06-01 华为技术有限公司 Data migration method and apparatus, and electronic device
CN116436787A (en) * 2023-06-13 2023-07-14 苏州浪潮智能科技有限公司 Network interface management method, use method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100257269A1 (en) * 2009-04-01 2010-10-07 Vmware, Inc. Method and System for Migrating Processes Between Virtual Machines
WO2013064189A1 (en) * 2011-11-03 2013-05-10 Siemens Aktiengesellschaft Migration of a virtual machine
CN103500146A (en) * 2013-09-30 2014-01-08 北京邮电大学 Method and system for migrating stored data of virtual machine disks
CN108205506A (en) * 2013-12-31 2018-06-26 华为技术有限公司 Method, virtual machine memory data processing method, server and the virtual machine system of live migration of virtual machine
CN108874506A (en) * 2018-06-08 2018-11-23 北京百度网讯科技有限公司 Virtual machine leads directly to the thermomigration process and device of equipment
CN109753346A (en) * 2018-12-25 2019-05-14 新华三云计算技术有限公司 A kind of live migration of virtual machine method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100257269A1 (en) * 2009-04-01 2010-10-07 Vmware, Inc. Method and System for Migrating Processes Between Virtual Machines
WO2013064189A1 (en) * 2011-11-03 2013-05-10 Siemens Aktiengesellschaft Migration of a virtual machine
CN103500146A (en) * 2013-09-30 2014-01-08 北京邮电大学 Method and system for migrating stored data of virtual machine disks
CN108205506A (en) * 2013-12-31 2018-06-26 华为技术有限公司 Method, virtual machine memory data processing method, server and the virtual machine system of live migration of virtual machine
CN108874506A (en) * 2018-06-08 2018-11-23 北京百度网讯科技有限公司 Virtual machine leads directly to the thermomigration process and device of equipment
CN109753346A (en) * 2018-12-25 2019-05-14 新华三云计算技术有限公司 A kind of live migration of virtual machine method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256391A (en) * 2020-10-22 2021-01-22 海光信息技术股份有限公司 Virtual machine memory migration method, device and equipment
WO2022143717A1 (en) * 2020-12-29 2022-07-07 华为云计算技术有限公司 Method, apparatus, and system for migrating virtual machine
CN113485981A (en) * 2021-08-12 2021-10-08 北京青云科技股份有限公司 Data migration method and device, computer equipment and storage medium
WO2023093418A1 (en) * 2021-11-26 2023-06-01 华为技术有限公司 Data migration method and apparatus, and electronic device
CN116436787A (en) * 2023-06-13 2023-07-14 苏州浪潮智能科技有限公司 Network interface management method, use method, device, equipment and storage medium
CN116436787B (en) * 2023-06-13 2023-08-15 苏州浪潮智能科技有限公司 Network interface management method, use method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111736945B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
CN111736945B (en) Virtual machine thermomigration method, device, equipment and medium based on intelligent network card
EP3608792B1 (en) Managed switching between one or more hosts and solid state drives (ssds) based on the nvme protocol to provide host storage services
CN108132890B (en) Garbage recycling method, device and equipment for memory chip and storage medium
US9229656B1 (en) Managing settings and queries in host-based data migration
CN100555257C (en) The memory controller of the dma operation between the processing page replicative phase and method
CN110609730B (en) Method and equipment for realizing interrupt transparent transmission between virtual processors
CN107908571B (en) Data writing method, flash memory device and storage equipment
CN111831588A (en) Storage device access method, device and system
US8180930B2 (en) Information processing device, and device initialization method in the information processing device
US10223305B2 (en) Input/output computer system including hardware assisted autopurge of cache entries associated with PCI address translations
WO2023179388A1 (en) Hot migration method for virtual machine instance
JP5381713B2 (en) Data storage system for virtual machine, data storage method, and data storage program
US11734430B2 (en) Configuration of a memory controller for copy-on-write with a resource controller
CN114765051A (en) Memory test method and device, readable storage medium and electronic equipment
CN106484719A (en) A kind of method of extended mobile phone storage and terminal
CN114153779A (en) I2C communication method, system, equipment and storage medium
CN110147296B (en) Data processing method, device, equipment and readable storage medium
CN111399988B (en) Memory security detection system and method for cloud platform
US20180157605A1 (en) Configuration of a memory controller for copy-on-write
US10585618B2 (en) Providing access to virtual sequential access volume
CN112181870B (en) Memory page management method, device and equipment and readable storage medium
US11226756B2 (en) Indirect storage data transfer
JP2013015990A (en) Information processing system, information processing program and information processing method
JP7497637B2 (en) Information processing device and access control program
US7836247B2 (en) Method, apparatus, and computer program product for permitting access to a storage drive while the drive is being formatted

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant