Method and a system for building a virtual mechanism based on a 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 transplant and run the instruction set, etc.

Active Publication Date: 2019-03-26
SHANGHAI JIAO TONG UNIV
View PDF8 Cites 16 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 a system for building a virtual mechanism based on a processor
  • Method and a system for building a virtual mechanism based on a processor
  • Method and a system for building a virtual mechanism based on a 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 those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

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

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 processor-based virtual machine construction method and system, in particular to a domestic Shenwei processor-based virtual machine construction method and system. Background technique [0002] At present, the domestic Shenwei processor architecture is constantly maturing, and it is gradually being widely used 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, maintained and controlled by Chinese research institutes, this platform will obviously have excellent security and credibility, and at the same time, it can be adjusted and developed according to the special needs of Chinese organizations. Adaptation also increases the flexibility and breadth of its application. Therefore, the comp...

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 Applications(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