Virtual machine establishing method, virtual machine monitor and virtual machine system
A virtual machine monitor and virtual machine technology, which is applied in the directions of instruments, program control design, program control devices, etc., can solve the problems of reducing the density of virtual machines, limiting the number of virtual machines, and not considering the memory usage of virtual machines. Memory usage, effect of increasing virtual machine density
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 2 It is a schematic diagram of the architecture of the virtual machine system in the embodiment of the present invention. Such as figure 2 As shown, the system includes: a virtual machine monitor and a virtual machine; wherein,
[0024] The virtual machine monitor is configured to map the client machine page frame number GFN corresponding to the pseudo-physical memory of the virtual machine to a shared zero page, where the shared zero page is a page whose page content is all zero in the physical memory; when the When the virtual machine writes the GFN, if a page exception occurs, a physical memory page is allocated to release the mapping relationship between the guest machine page frame number GFN and the shared zero page, and establish the guest machine page frame number GFN and the The mapping relationship of the machine page frame number MFN of the physical memory page.
[0025] Further, the virtual machine monitor can also be used to update the memory us...
Embodiment 2
[0034] Embodiment 2 of the present invention provides a virtual machine monitor VMM. read on figure 2 , the virtual machine monitor includes:
[0035] Initialize the virtual memory unit 210, which is used to map the client page frame number GFN corresponding to the pseudo-physical memory of the virtual machine to a shared zero page, which is a page whose page content in the physical memory is all zero;
[0036] The copy-on-write unit 220 is configured to allocate a physical memory page to release the mapping relationship between the client page frame number GFN and the shared zero page if a page exception occurs when the above-mentioned virtual machine writes the GFN, and establishes the Describe the mapping relationship between the client page frame number GFN and the machine page frame number MFN of the physical memory page.
[0037] Specifically, initialize the virtual memory unit 210, specifically for indexing all GFNs corresponding to the pseudo-physical memory of the ...
Embodiment 3
[0047] Embodiment 3 of the present invention provides a method for creating a virtual machine, image 3 It is an overall flow chart of a method for creating a virtual machine in Embodiment 3 of the present invention, such as image 3 As shown, the method includes:
[0048] Step 310, mapping the client page frame number GFN corresponding to the pseudo-physical memory of the virtual machine to a shared zero page, where the shared zero page is a page whose page content is all zeros in the physical memory;
[0049] Step 320, when the virtual machine writes the GFN, if a page exception occurs, allocate a physical memory page to release the mapping relationship between the guest page frame number GFN and the shared zero page, and establish the guest page The mapping relationship between the frame number GFN and the machine page frame number MFN of the physical memory page.
[0050] Specifically, in step 310, mapping the guest page frame number GFN corresponding to the pseudo-physi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
