Interrupt processing method and device based on virtual machine monitor, terminal equipment and chip

A technology of a virtual machine monitor and a processing method, which is applied in the field of interrupt processing based on a virtual machine monitor, can solve problems such as poor flexibility, low efficiency, and the inability to adjust virtual interrupt numbers, so as to improve flexibility and save processors Time, the effect of improving interrupt response efficiency

Pending Publication Date: 2022-07-22
BEIJING SPREADTRUM HI TECH COMM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the prior art, the hypervisor-based interrupt response processing method not only requires context switching, which is inefficient, but also the virtual interrupt number corresponding to each VM cannot be adjusted after the configuration is completed, and the flexibility is poor.

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
  • Interrupt processing method and device based on virtual machine monitor, terminal equipment and chip
  • Interrupt processing method and device based on virtual machine monitor, terminal equipment and chip
  • Interrupt processing method and device based on virtual machine monitor, terminal equipment and chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the above objects, features and beneficial effects of the present application more clearly understood, the specific embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0047]The following first briefly describes the existing hypervisor interrupt response process.

[0048] In the prior art, the pass-through in the hypervisor is to read the configuration file in .cfg format, find the VM corresponding to the interrupt number, and then call the hypercall of the hypervisor by the VM to configure the GIC and start the corresponding VM. The interrupt number corresponding to each VM in the configuration file is static and cannot be dynamically adjusted. If an interrupt corresponding to a VM wants to be used by other VMs, it must be handled by virtualization.

[0049] like figure 1 Shown is a schematic diagram of the existing Hypervisor-based interrupt response process. When the physical peri...

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 an interrupt processing method and device based on a virtual machine monitor, terminal equipment and a chip. The method comprises the steps that an arbiter arranged in a privileged virtual machine VM configures interrupt use permission for a non-privileged VM; and the virtual machine monitor establishes direct connection between the non-privileged VM and the physical peripheral according to the interrupt use permission of the non-privileged VM. According to the scheme, the efficiency of interrupt response based on the virtual machine monitor can be improved, and the flexibility of a direct connection function between the VM and the physical peripheral is improved.

Description

technical field [0001] The present application relates to the technical field of virtual machines, and in particular, to an interrupt processing method and device based on a virtual machine monitor. Background technique [0002] Hypervisor, also known as virtual machine monitor (VMM), is the software, firmware or hardware used to create and execute virtual machines. Through the hypervisor, the available resources of the system can be more fully utilized and the mobility of Internet technology can be improved. The hypervisor can directly manage physical devices and support a virtual machine (virtual machine, VM) running on the hypervisor, and serve the VM through an interface provided by the hypervisor. A VM, also known as a guest operating system (Guest OS), is an operating system that can run in a hypervisor. Corresponding to the main operating system (HostOS), it is a system installed on a hardware device. [0003] In the prior art, when a hypervisor receives a hardware ...

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/455G06F13/24G06F13/40
CPCG06F9/45558G06F13/24G06F13/4031G06F2009/45575
Inventor 王健陈俞安
Owner BEIJING SPREADTRUM HI TECH COMM TECH CO LTD
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