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

Method and apparatus for interruption handling

A processing method and technology of a processing device, which are applied to multi-programming devices, program control devices, program startup/switching and other directions, can solve the problems of large interruption delay and the inability of the guest operating system to provide timely response and processing, and reduce the number of The frequency of writing, the effect of improving efficiency, and improving overall performance

Active Publication Date: 2009-12-16
LENOVO (BEIJING) LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When an interrupt occurs, all registered guest operating systems must be interrupted. When there are many registered guest operating systems, the interrupt delay will be too large, and the guest operating system that needs to process the interrupt task in time cannot provide timely Response and processing

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 apparatus for interruption handling
  • Method and apparatus for interruption handling
  • Method and apparatus for interruption handling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In the following description, a guest operating system that registers a service request for an interrupt is called the interrupt's registered guest operating system, and the interrupt is called the guest operating system's registered interrupt.

[0045] In the interrupt processing method provided by the present invention, firstly, multiple pieces of registration information are stored in the virtual machine system. Each item of registration information corresponds to an interrupt respectively, and each item of registration information includes the identification, level and waiting flag of the registered guest operating system corresponding to the interrupt. During specific implementation, an interrupt descriptor (Interrupt descriptor) may be used to store a piece of registration information. Each interrupt descriptor contains an interrupt number, and the identification, level and wait flag information of the registered guest operating system corresponding to the interru...

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 an apparatus thereof. The interrupt processing method stores a plurality of registry information items in a virtual machine system, and each registry information item is corresponding to an interrupt and contains the mark, level and waiting mark information of a registered client operating system that are corresponding to the interrupt. The invention comprises the following steps: when an interrupt happens, the interrupt is injected directly to the client operating system that is registered to the interrupt in a designated level, and the waiting marks of the client operating systems that are registered to the interrupt but not injected are set to a waiting status; when a client operating system is scheduled to run, the method determines whether the client operating system needs to be injected with an interrupt according to the waiting mark inside the registry information stored in the virtual machine system, and if necessary, the interrupt is injected into the client operating system, and the waiting mark of the client operating system that is corresponding to the interrupt is set to an initial status. The method improves the injection efficiency of client operating systems that are registered to an interrupt in a designated level.

Description

technical field [0001] The invention relates to interrupt processing technology, in particular to an interrupt processing method and device. Background technique [0002] Generally speaking, in a virtual machine environment, multiple guest operating systems (Guest OS) are running at the same time. When the guest operating system needs the service of the hardware device, it usually needs to register in the interrupt vector list. When a hardware interrupt occurs, the virtual machine monitor (VMM) obtains all registered guest operating systems corresponding to the interrupt in the interrupt vector list, injects the interrupt into them respectively and writes the interrupt status into the virtual interrupt control corresponding to the registered guest operating system device. In the prior art, the operation of injecting the interrupt into the guest operating system is usually performed sequentially with the virtual interrupt controller writing the interrupt status into the 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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F9/455
Inventor 石勇陈军
Owner LENOVO (BEIJING) LTD
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