Interrupt processing method, interrupt manager, electronic equipment and computer readable medium
A processing method and manager technology, applied in the field of communication, can solve the problems of low efficiency of IPI virtualization operation, achieve the effect of improving virtualization operation efficiency and reducing performance loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0140] Figure 16 It is a schematic diagram of the storage space of the IPI interrupt manager in the embodiment of the present disclosure.
[0141] Such as Figure 16 As shown, in the storage space of the IPI interrupt manager, different virtual machines have independent IPI interrupt information storage spaces, and each IPI interrupt information storage space includes:
[0142] The IPI interrupt request information area is 4K page aligned. Each IPI interrupt request information area is divided into multiple IPI request information memory blocks, and the multiple IPI request information memory blocks are in one-to-one correspondence with each vCPU in the VM. In the first embodiment, each IPI request information memory block is 32 bits, including 16 bits of IPI target vCPU information and 16 bits of IPI interrupt vector number. The IPI interrupt request information area is mapped to the corresponding VM through MMIO, and can be directly written by vCPU;
[0143] The vCPU st...
Embodiment 2
[0149] Embodiment 2 provides an initialization process of the host VMM.
[0150] When the VMM is initialized, read the PCI control information, obtain the physical first address of the storage space of the IPI interrupt manager, and complete the MMIO mapping;
[0151] The VMM allocation sets the VMM notification interrupt, and the IPI interrupt manager can wake up the VMM by sending the VMM notification interrupt;
[0152] VMM sets the Posted Interrupt interrupt, and the setting method is:
[0153] Traverse all pCPUs;
[0154] Assign an IRTE to each pCPU, set it as the property of Posted Interrupt, and set its posting target pCPU;
[0155] Write the pCPU ID and the corresponding IRTE index into the pCPU information area of the IPI interrupt manager.
Embodiment 3
[0157]Embodiment 3 provides a process for creating a VM.
[0158] After receiving the virtual machine creation command, the VMM applies for a new virtual machine IPI request information area from the IPI interrupt manager;
[0159] The VMM creates a VM, and creates an IPI virtual PCI device, and the BAR address space of the virtual PCI device is set as the address of the newly allocated IPI request information area.
[0160] When the virtual machine starts, an IPI driver is created, the address of the IPI request information area corresponding to the virtual machine is obtained from the virtual PCI device, and the MMIO mapping is completed, and the mapping is actually mapped to the corresponding IPI request information area. Subsequently, the IPI driver can directly write through the virtual address space GVA to complete the IPI interrupt request. Since each VM can only map its corresponding IPI request information area, the IPI requests of different VMs will not affect other...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com