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 problems such as lack of hardware architecture support, late start of processor, etc., to simplify design difficulty and Cost, Simplified Design, Ease of Implementation

Active Publication Date: 2022-07-12
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 of a CPU multi-core architecture, at least one virtual processor VCPU, and a virtual machine management system. devices and firmware configured with privileged instruction libraries,

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

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

[0066] Kernel state: the state in which the operating system kernel instructions are running. In this state, the k...

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 processor PCPU, an operating system of CPU multi-core architecture, at least one virtual processor VCPU, a virtual machine Manager and firmware configured with privileged instruction library, virtual processor state management data structure VCPUCB, a set of data structures used to maintain VCPU privileged state, including state information related to the internal implementation of the processor, virtual processor state management data structure VCPUCB Placed in memory; virtual state base address register VCPUCB_PTR, used to store the base address pointing to the virtual processor state management data structure VCPUCB. The invention realizes the important VCPU entry and VCPU exit support in processor virtualization, supports the development of VCPU scheduling interface in the virtual machine manager, supports switching the processor privilege state to the virtual machine mode, and provides support for the virtual machine manager and the operating system kernel. It is transparent and supports CPU virtualization without adding any hardware extension interface.

Description

technical field [0001] The invention belongs to the technical field of central processing units, and in particular relates to a CPU virtualization method based on a privileged instruction library. Background technique [0002] With the substantial expansion of the resource scale of the computing system, the continuous enhancement of the processing capacity, the increasing variety of resources, and the flexible and diverse application requirements, the search for new computing principles 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, have already become the focus of research in the industry. [0003] Domestic processors started late, and in terms of processor architecture, they do not have the same systematic and complete hardware architecture support for virtualization as Intel VT technology. The invention uti...

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/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