Method and system for constructing virtual machine based on domestic Shenwei processor

A processor and virtual machine technology, applied in the field of virtual machine construction, can solve the problems of not providing hardware, unable to port and run the instruction set, etc.

Active Publication Date: 2020-07-28
SHANGHAI JIAO TONG UNIV
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, the design and implementation of a lightweight virtual machine construction method based on the domestic Shenwei processor needs to face the following problems: First, unlike the mainstream x86 instruction set platform, the Shenwei processor platform does not provide hardware-native virtualization support acceleration Therefore, it is impossible to realize efficient virtual machine operation management by calling the hardware interface, but must realize virtualization through software processing
In addition, the existing open source virtualization implementation solutions cannot be directly transplanted and run on the instruction set of the Shenwei processor platform, and native solutions must be developed based on this

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 system for constructing virtual machine based on domestic Shenwei processor
  • Method and system for constructing virtual machine based on domestic Shenwei processor
  • Method and system for constructing virtual machine based on domestic Shenwei processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that for those of ordinary skill in the art, several changes and improvements can be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0025] The present invention is based on the domestic Shenwei processor platform to achieve a lightweight virtualization solution. The solution is named as the SWVM solution. The SWVM solution is deployed in the communication and collaboration between different functional modules at each level of the physical machine operating system. Complete the virtual function. The modules mainly include a hardware-level privileged function library HMCode, a kernel virtual machine management and monit...

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 provides a method and a system for building a virtual mechanism based on a processor. In a user space virtual machine management program, a configuration command is input to create and start a virtual machine. The user interface receives and parses configuration commands and accesses the kernel module interface. Creating device files in the physical machine file system as kernel module interfaces for user space hypervisor to access the physical machine kernel; The virtual management of the physical machine kernel responds to the user space hypervisor access, initializes the datastructure of the virtual machine instance, fills the virtual CPU state data, saves the current CPU running state of the physical machine, and accesses the HMCode specific call to switch to the virtualmachine running state. Lightweight virtual machine based on domestic Shenwei processor platform is built to realize virtual machine creation, start, pause, stop and other key input and output devicevirtualization functions, including virtualized storage access, virtualized display device and virtual network card.

Description

Technical field [0001] The present invention relates to the field of virtual machine construction, in particular to a virtual machine construction method and system based on a domestic Shenwei processor, and in particular to a virtual machine construction method and system based on a domestic Shenwei processor. Background technique [0002] At present, the domestic Shenwei processor architecture is constantly moving towards maturity, and as a result, it is gradually gaining wide application in many different application fields, especially in the key application scenarios of Chinese government agencies and related organizations. Considering that the domestic Shenwei processor platform is independently developed by Chinese research institutions and maintains and controls its design architecture, this platform will obviously have excellent security and credibility, and it can also be adjusted and adjusted according to the special needs of my country’s organizations. Adaptation also i...

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/455
CPCG06F9/45558G06F2009/45562G06F2009/45575
Inventor 姚建国王星焱管海兵王超卢秋旻刘杰朱建涛
Owner SHANGHAI JIAO TONG UNIV
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