Method, apparatus, and system for generating and recovering memory snapshot of virtual machine
US9507672B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Apr 14, 2014 |
| Grant date | Nov 29, 2016 |
| Priority date | — |
| Expiry date | Dec 17, 2034 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2201/84
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method for generating and recovering a memory snapshot of a virtual machine is provided. The method includes: obtaining a current Sth memory page of the virtual machine; identifying a page type of the current Sth memory page, where the page type includes an invalid data page and a valid data page; and recording the page type of the current Sth memory page in a memory snapshot file when the page is an invalid data page; and recording the page type and page data of the current Sth memory page in the memory snapshot file when the page is a valid data page, so that only valid data is stored according to the embodiments of the present invention, thereby reducing backup of invalid data, greatly shortening the generation time of the memory snapshot, reducing the size of the memory snapshot file, and saving storage resources.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.