CPU virtualization method based on privileged instruction library
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 vi...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
26.02.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | 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 mach |
---|---|
Bibliography: | Application Number: CN201910783143 |