Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual machine startup and shutdown method and device, apparatus and medium

A technology for virtual machines and on/off machines, used in program control devices, program control design, software simulation/interpretation/simulation, etc.

Active Publication Date: 2020-02-21
北京浪潮数据技术有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the method in the open source community is to save the dirty bitmap in the QCOW2 (that is, QEMU Copy OnWrite Version 2, QEMU copy on write) file, but this will definitely change the metadata of the disk, and only supports virtual disks in the QCOW2 format

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 startup and shutdown method and device, apparatus and medium
  • Virtual machine startup and shutdown method and device, apparatus and medium
  • Virtual machine startup and shutdown method and device, apparatus and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0033] In QEMU virtualization, although a method of using dirty bitmap to record virtual disk dirty data is provided to support CBT snapshots, since the dirty bitmap only exists in the memory of the virtual machine process, there is a problem that the dirty bitmap will be lost once the virtual machine is shut down . In the prior art, the method in the open source community is to save the dirty bitmap in the qcow2 file, but this will definitely change the metadata of the disk, and on...

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 startup and shutdown method and device, an apparatus and a medium. The method comprises the steps of obtaining a file descriptor of an external bitmap carrierfile when a virtual machine is shut down, and writing the bitmap information into the external bitmap carrier file through the file descriptor, wherein the bitmap information is a bitmap for recording dirty data of a virtual disk; when the virtual machine is started, obtaining the file descriptor, and acquiring the bitmap information from the external bitmap carrier file through the file descriptor, generating a corresponding bitmap according to the bitmap information, continuously recording the virtual disk dirty data generated in the startup period by using the bitmap, and performing incremental backup on the virtual disk data by using the current bitmap information, so that the problem of bitmap loss caused by virtual machine shutdown is avoided, a virtual machine disk in any format issupported, and the incremental backup can be continuously carried out on the data by utilizing the imported bitmap information, and accordingly the data backup efficiency of the virtual machine is improved.

Description

technical field [0001] The present application relates to the technical field of data storage, and in particular to a method, device, device, and medium for turning on and off a virtual machine. Background technique [0002] In QEMU virtualization, although a method of using dirty bitmap to record virtual disk dirty data to support CBT (Changed Block Tracking technology, data block modification tracking) snapshot is provided, since dirty bitmap only exists in the virtual machine process memory, once it exists When the virtual machine is shut down, the dirty bitmap will also be lost. [0003] In the prior art, the method in the open source community is to save the dirty bitmap in the QCOW2 (that is, QEMU Copy OnWrite Version 2, QEMU copy on write) file, but this will definitely change the metadata of the disk, and only supports virtual disks in the QCOW2 format . Contents of the invention [0004] In view of this, the purpose of this application is to provide a method, de...

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
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45587
Inventor 刘为峰
Owner 北京浪潮数据技术有限公司