Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for virtual machine cloning under kvm virtualization

A virtual machine and virtualization technology, applied in the field of cloud computing, to achieve the effect of guaranteeing work ability

Active Publication Date: 2020-11-27
ALIBABA CLOUD COMPUTING LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Virtual machine fast cloning technology can clone a virtual machine in seconds, and the virtual machines share memory in COW mode. In the prior art, the virtual machine cloning technology provided by VMWare can only be used in the virtual environment of VMWare. Under the virtualization environment of KVM (Kernel-based Virtual Machine, that is, kernel-based virtual machine), there is no feasible fast virtual machine cloning technical solution. Therefore, a method for fast virtual machine cloning under KVM virtualization needs to be proposed urgently.

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
  • Method and device for virtual machine cloning under kvm virtualization
  • Method and device for virtual machine cloning under kvm virtualization
  • Method and device for virtual machine cloning under kvm virtualization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0110] image 3 It is the technical flow chart of Embodiment 2 of the present application, combined with image 3 In the embodiment of the present application, another embodiment of a virtual machine cloning device under KVM virtualization includes:

[0111] Step S310: suspend the first virtual machine and save the data of the first virtual machine in a designated memory; wherein, the data will not be released in the designated memory;

[0112] Step S320: Start the executable program of the virtual machine to realize the cloning of the second virtual machine;

[0113] Step S330: Restore the data from the designated memory to the first virtual machine.

[0114] For the execution process of the above steps, see figure 1 The illustrated embodiment will not be repeated here.

[0115] It should be noted that, in the embodiment of the present application, the executable program of the virtual machine obtains the cloned second virtual machine after the initialization is completed...

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 cloning method and device under KVM virtualization. According to the method, a first virtual machine is paused, and data in the first virtual machine is saved into a designated memory, wherein the data in the designated memory is not released; starting parameters of a virtual machine executable program are acquired from the designated memory; and the virtual machine executable program is started to realize cloning of a second virtual machine. In this way, quick virtual machine cloning in a KVM virtualization environment is realized.

Description

technical field [0001] The present application belongs to the field of cloud computing, and in particular relates to a method and device for virtual machine cloning under KVM virtualization. Background technique [0002] A virtual machine is an application running on a Windows or Linux computer that "simulates" the environment of a standard x86-based PC. This environment is the same as an ordinary computer, which has chipset, CPU, memory, graphics card, sound card, network card, floppy drive, hard drive, optical drive, serial port, parallel port, USB controller, SCSI controller and other devices, providing the "window" of this application program. "It is the monitor of the virtual machine. Take out part of the hard disk and memory on a computer to virtualize several machines, and each machine can run a separate operating system without interfering with each other. Each of these "new" machines has its own independent CMOS, hard disk, and operating system. Users can perform ...

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 Patents(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45562
Inventor 吴志勇张献涛傅俊康沈益斌
Owner ALIBABA CLOUD COMPUTING LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products