The invention discloses a
virtual machine pause
processing method of a
micro kernel Hypervisor based on an ARM VHE (Advanced RISC Machines VHE), which is characterized in that the
micro kernel Hypervisor based on the ARM VHE is deployed and comprises a
Hypervisor micro kernel module, a Host OS (
Operating System) service thread and a
virtual machine user mode management thread, wherein a CPU (
Central Processing Unit)
virtualization module in a kernel
virtualization extension module in the Hypervisor
microkernel module comprises a vCPU running thread running in an EL0 / EL1 mode and a vCPU
processing thread running in the EL0 mode, and when the Hypervisor monitors that the vCPU running thread is suspended, the kernel
virtualization extension module in the kernel virtualization extension module in the Hypervisor
microkernel module is started; corresponding
processing operation is adopted according to the pause trigger reason: if the current pause reason belongs to interrupt trigger or abnormal trigger processed under a Hypervisor
microkernel, the kernel virtualization extension module directly performs corresponding
virtual machine pause processing operation on EL2, and if the current pause reason belongs to other conditions, the kernel virtualization extension module directly performs corresponding virtual
machine pause processing operation on the EL2; if yes, scheduling a vCPU processing thread to perform virtual
machine pause processing operation at EL0; and after the operation is completed, the vCPU running thread recovers running. According to the method, the interrupt and exception processing of the Hypervisor on the virtual
machine is optimized, and the pause processing performance of the virtual machine is improved.