Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for closing interrupt in virtualization system

A virtualization system and virtual interrupt technology, applied in the computer field, can solve problems such as low system operation efficiency, and achieve high system operation efficiency and fast speed

Active Publication Date: 2012-11-28
NANTONG HANGDA ELECTRONICS TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the implementation of Hyper Call generally involves the application of general communication mechanisms such as memory and queues, if the Guest OS needs to frequently perform the operation of opening or closing interrupts, the method for closing interrupts provided by the above-mentioned prior art makes the system run less efficient

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
  • Method and device for closing interrupt in virtualization system
  • Method and device for closing interrupt in virtualization system
  • Method and device for closing interrupt in virtualization system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0021] Please refer to the attached figure 1 , is a schematic flowchart of a method for disabling interrupts in a virtualization system provided by an embodiment of the present invention, mainly including step S101, step S102 and step S103:

[0022] S101, providing an interface to the virtualization operating system Guest OS so that the Guest OS calls the interface to set an interrupt flag in the interrupt flag bit register corresponding to the Guest OS in the shared memory, the shared memory is real-tim...

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 provides a method and device for closing interrupt in a virtualization system, which aim to better support the open / close interrupt of a Guest OS (Operating System) and reduce the influence on system operating efficiency. The method comprises the following steps of: offering an interface to the Guest OS of the virtualization operating system so as to allow the Guest OS to call the interface to set an interrupt flag for an interrupt flag register corresponding to the Guest OS in shared memory; checking the interrupt flag register; and avoiding sending virtual interrupt to the Guest OS if the interrupt flag register indicates that the Guest OS requires interrupt closing. The method provided by the invention does not rely on co-compiling of Hypervisor and the Guest OS, the Hypervisor has no need of sharing code sections with the Guest OS, and the access to the shared memory is realized through a virtual address, so that the interrupt closing / opening is quick, and the system operating efficiency is high.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for disabling interrupts in a virtualization system. Background technique [0002] In order to prevent important system program codes from being interrupted during execution or to ensure data consistency, the operating system (Operating System, OS) needs to perform an operation of disabling interrupts. [0003] In a non-virtualized environment, the OS can directly disable physical hardware interrupts. However, once the real-time embedded virtualization component Hypervisor is deployed, the distribution of interrupts will be managed by the Hypervisor, and the OS cannot directly disable physical hardware interrupts. For example, in a virtualization system, multiple guest operating systems (Guest OS) will run on a single physical central processing unit (Central Processing Unit, CPU), and when a single Guest OS executes the shutdown interrupt, it cannot affect other Gue...

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
IPC IPC(8): G06F9/48
CPCG06F2009/45583G06F9/4812G06F9/45558G06F9/48G06F9/455
Inventor 马彬郑章孝白云鹏
Owner NANTONG HANGDA ELECTRONICS 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