Virtual machine snapshot generation method and apparatus

A technology for generating a device and a virtual machine, applied in the computer field, can solve the problems of long time, large business impact of virtual machine, long suspension time of virtual machine, etc., to achieve the effect of ensuring consistency

Active Publication Date: 2016-03-30
HUAWEI TECH CO LTD
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it takes a long time to live migrate the memory of the virtual machine to the snapshot file, so the virtual machine pauses for a long time, which has a great impact on the business of the virtual machine

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 snapshot generation method and apparatus
  • Virtual machine snapshot generation method and apparatus
  • Virtual machine snapshot generation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0028] The terms "first", "second", "third" and "fourth" in the specification and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive i...

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

Embodiments of the invention disclose a virtual machine snapshot generation method and apparatus. The method provided by the embodiment of the invention comprises: according to a received snapshot command, pausing a virtual machine at a first moment, and starting to perform storage operation of a memory page in a memory of the virtual machine and pollution interception operation of the memory page in the memory; storing a device state of the virtual machine at the first moment to a snapshot file; and after the device state is stored, recovering a pausing state of the virtual machine to a running state. The process of performing the pollution interception operation of the memory page comprises: at the time between the first moment and the moment of storing the content of the memory page to the snapshot file of the virtual machine, intercepting a pollution action influencing the content of the memory page, storing the content of the memory page to a temporary cache, and cancelling the interception of the pollution action. The process of performing the storage operation of the memory page in the memory of the virtual machine comprises: storing the content of the memory page stored in the temporary cache into the snapshot file of the virtual machine.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for generating virtual machine snapshots. Background technique [0002] A virtual machine snapshot refers to copying and saving the state of a virtual machine at a certain moment, so that the system can restore the virtual machine based on the virtual machine snapshot when a problem occurs, or restore the virtual machine to the virtual machine based on the virtual machine snapshot after startup. operating status at all times. Online snapshot refers to saving the working state of the current virtual machine to a specified file without interrupting the normal operation of the current virtual machine [0003] A virtual machine snapshot includes the device state and memory data of the virtual machine. The current KVM (full name: Kernel-basedVirtualMachine, a virtual machine based on the linux kernel) does not have an online memory snapshot function. When obtaining a KV...

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): G06F11/14G06F9/455
CPCG06F9/455G06F11/14G06F9/45558G06F2009/4557G06F2009/45575G06F2009/45583G06F12/1441G06F2212/1024G06F2212/152G06F11/1451G06F12/1009G06F2009/45591G06F2201/84
Inventor 张海亮
Owner HUAWEI TECH CO 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