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

Method and device for memory virtualization

A memory virtualization and memory technology, applied in the field of memory virtualization, can solve problems such as time-consuming and limiting the use of virtual machine migration.

Active Publication Date: 2017-11-24
HUAWEI TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, in the prior art, the operation of the shadow page table is a privileged operation that needs to use the system kernel of the host machine, and because different host machines often use different operating systems or architectures, different operating systems or architectures The way of privilege operation is also different. Therefore, it is difficult for a virtual machine based on shadow page table technology running on one host to run directly on another operating system or a host with a different architecture. It takes time and effort for technicians to Only by reformulating the way of privileged operation of the shadow page table technology for another operating system or architecture can the virtual machine based on the shadow page table technology be able to run on another host with a different operating system, which limits the virtual machine in Migration on different system platforms using

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 memory virtualization
  • Method and device for memory virtualization
  • Method and device for memory virtualization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0063] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to...

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 embodiment of the invention discloses a memory virtualization method and device, which relate to the field of electronic information technology, and can avoid using the kernel of a host machine to modify the mapping relationship when the mapping relationship needs to be modified. The method of the present invention includes: establishing a mapping relationship between the HVA layer and the storage space of the hard disk; assigning an address space in the HVA layer for the process of the client computer, and establishing a link between the GVA layer and the allocated address space in the HVA layer Mapping relationship; establish a mapping relationship between the address on the allocated address space in the HVA layer pointed to by the memory access instruction and the storage space of the hard disk; obtain the target data from the host computer. The present invention is applicable to the scene of virtualizing the memory of the computing device.

Description

technical field [0001] The invention relates to the technical field of electronic information, in particular to a memory virtualization method and device. Background technique [0002] At present, when using a virtual machine, it is necessary to make the memory space layout seen by the guest operating system the same as that in the real physical machine environment, which requires virtualization of the memory. After the memory is virtualized, it generally contains multi-level address space mapping and forms an address mapping layer, including GVA (Guest Virtual Address, client virtual address) layer, GPA (Guest Physical Address, client physical address) layer, HVA (Host Virtual Address, host virtual address) layer, HPA (Host Physical Address, host physical address) layer. Wherein, the mapping from the HVA layer to the HPA layer is maintained by the host operating system and recorded in the Host page table of the host. And in the prior art, shadow page table technology is c...

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/455G06F12/1009
Inventor 王振江武成岗李斌杨东艳
Owner HUAWEI TECH CO 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