Virtual machine migration method, device and system and storage medium

A virtual machine and memory technology, applied in program control devices, software simulation/interpretation/simulation, instruments, etc., can solve problems such as inability to perform live migration of virtual machines, different memory management methods, etc.

Pending Publication Date: 2021-08-27
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a virtual machine migration method, device, system, and storage medium, so as to at least solve the technical problem that the hot migration of virtual machines cannot be performed due to different memory management methods on different host machines

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual machine migration method, device and system and storage medium
  • Virtual machine migration method, device and system and storage medium
  • Virtual machine migration method, device and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] According to the embodiment of the present application, an embodiment of a method for migrating a virtual machine is also provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0028] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a virtual machine migration method is shown. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processor 102 (the processo...

Embodiment 2

[0068] Figure 4 is a flow chart of another virtual machine migration method according to an embodiment of the present application, such as Figure 4 As shown, the method includes the following steps:

[0069] Step S402, acquiring an instruction sent by the source device to create a target virtual machine running on the target device.

[0070] Step S404, obtaining the memory management mode of the source device from the above instruction.

[0071] Step S406, creating the target virtual machine according to the memory management mode of the source device.

[0072] Steps S402 to S402 provide another virtual machine migration method, wherein, related content about virtual machine migration can be found in figure 2 Relevant descriptions of the illustrated embodiments will not be repeated here. Here, only the operations performed by the target segment host during the live migration of the virtual machine are described.

[0073] After receiving the instruction to create a virt...

Embodiment 3

[0082] According to an embodiment of the present application, a migration device for implementing the above virtual machine migration method is also provided, Figure 5 is a structural diagram of a virtual machine migration device according to an embodiment of the present application, such as Figure 5 As shown, the device includes:

[0083] An acquisition module 50, configured to acquire the memory management mode of the target device;

[0084] A comparison module 52, configured to compare the memory management method of the target device with the memory management method of the source device;

[0085] A determination module 54, configured to determine the creation method of the target virtual machine running on the target device according to the comparison result;

[0086] The migration module 56 is configured to migrate the memory and device state of the source virtual machine running on the source device to the target virtual machine created in the above creation manner....

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a virtual machine migration method, device and system and a storage medium. The method comprises the following steps: acquiring a memory management mode of target equipment; comparing the memory management mode of the target device with the memory management mode of the source device; determining a creation mode of a target virtual machine running on the target equipment according to a comparison result; and migrating the memory and the device state of the source virtual machine running on the source device to the target virtual machine created according to the creation mode. The technical problem that live migration of the virtual machine cannot be carried out due to different memory management modes on different host machines is solved.

Description

technical field [0001] The present application relates to the field of virtual machine live migration, and in particular, relates to a virtual machine migration method, device, system, and storage medium. Background technique [0002] During live migration of a virtual machine, a virtual machine with the same configuration will be pulled up on the target host according to the configuration of the source host, and then the memory and device status will be transferred. If the memory management methods of the source host and the target host are different, the configuration of the source host cannot be used to directly pull up a virtual machine with the same configuration on the target host (memory allocation will fail), and virtualization cannot be performed. Machine memory and device state migration. [0003] For the above-mentioned problem that the hot migration of the virtual machine cannot be performed due to different memory management methods on different host machines, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558
Inventor 郑豪
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products