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

CPU virtualization method based on privileged instruction library

A privileged instruction and virtualization technology, applied in software simulation/interpretation/simulation, multi-program device, program control design, etc., can solve the problems of late start of processor and lack of hardware architecture support, etc., to simplify design difficulty and Effects of cost, ease of implementation, and simplified design

Active Publication Date: 2021-02-26
JIANGNAN INST OF COMPUTING TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Domestic processors started late, and there is no systematic and complete hardware architecture support for virtualization like Intel VT technology in terms of processor architecture.

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
  • CPU virtualization method based on privileged instruction library
  • CPU virtualization method based on privileged instruction library
  • CPU virtualization method based on privileged instruction library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0063] Embodiment: A CPU virtualization method based on a privileged instruction library, characterized in that: the CPU virtualization method is based on at least one physical processor PCPU, an operating system with a CPU multi-core architecture, at least one virtual processor VCPU, and virtual machine management controller and firmware configured with a privileged instruction library,

[0064] The processor runs in the following three states:

[0065] Privileged state: The state of running the privileged instruction library. In this state, the internal control registers of the processor can be accessed. It supports switching from the privileged state to the user state or core state. Processor exceptions, interrupts, calling privileged instructions, etc. will automatically enter the privileged state Run in the privileged instruction library;

[0066] Kernel state: The state of running the kernel instructions of the operating system. In this state, kernel-level privileged in...

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 discloses a CPU virtualization method based on a privileged instruction library, which is characterized in that the CPU virtualization method is based on at least one physical processorPCPU, an operating system of a CPU multi-core architecture, at least one virtual processor VCPU, a virtual machine manager, and firmware configured with the privileged instruction library; a virtual processor state management data structure VCPUCB is used for maintaining the privileged state of the VCPU and comprises state information related to internal implementation of the processor, and the virtual processor state management data structure VCPUCB is placed in a memory; and the virtual state base address register VCPUCB_PTR is used for storing a base address pointing to the virtual processor state management data structure VCPUCB. According to the invention, the support of important VCPU entry and VCPU exit in processor virtualization is realized, the development of a VCPU scheduling interface in a virtual machine manager is supported, the switching of a processor privilege state to a virtual machine mode is supported, the method is transparent to the virtual machine manager and anoperating system kernel, and the CPU virtualization support is realized under the condition of not adding any hardware expansion interface.

Description

technical field [0001] The invention belongs to the technical field of central processing units, in particular to a CPU virtualization method based on a privileged instruction library. Background technique [0002] With the large scale expansion of computing system resources, continuous enhancement of processing capabilities, increasingly rich types of resources, and flexible and diverse application requirements, seeking new computing mechanisms and models has become a major challenge for the future information technology field. Computing system virtualization and cloud computing, as a new computing model to promote the development of computer technology, has long been a research hotspot in the industry. [0003] Domestic processors started late, and there is no systematic and complete hardware architecture support for virtualization like Intel VT technology in terms of processor architecture. The present invention uses the existing domestic processor operating system inter...

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/455G06F9/50
CPCG06F9/45558G06F9/5027G06F2009/45562
Inventor 王星焱郑岩黄高阳杨政刘松
Owner JIANGNAN INST OF COMPUTING TECH
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