Virtual machine system and interrupt handling method for customer operating system of the virtual machine system

A guest operating system and virtual machine technology, which is applied in the field of interrupt processing of virtual machine systems and their guest operating systems, can solve problems such as low interrupt efficiency, long time and path, and overall system performance degradation, so as to improve system performance and data The effect of speeding up the receiving process

Active Publication Date: 2009-03-11
LENOVO (BEIJING) LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The corresponding interruption time and path are too long, and the interruption efficiency is low
[0011] GOS falls into the virtual machine monitor at a frequency of tens of thousands of times per second, checks for interrupts and simulates the interrupts. When a large number of interrupts occur, the overall performance of the system drops significantly.

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
  • Virtual machine system and interrupt handling method for customer operating system of the virtual machine system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The interrupt processing method of the guest operating system in the virtual machine system of the present invention aims at the feature that the virtual machine monitor can intercept the interrupt, directly shields the interrupt, and then directly reads the buffer data corresponding to the real physical device, reduces the number of interrupts, and improves the performance of the device. performance.

[0040] The interrupt processing method of the guest operating system in the virtual machine system of the present invention is as follows: figure 1 shown, including:

[0041] Step 11, the virtual machine monitor intercepts the interrupt generated by the real physical device after receiving the data, and sets the interrupt flag in the virtual CPU;

[0042] In this step, after the pin of the real physical device generates an interrupt, the interrupt is intercepted by the virtual machine monitor, and the virtual machine monitor sets the corresponding interrupt flag in the ...

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 virtual machine system and an interruption handling method for the client operation system thereof, wherein, the interruption handling method for the client operation system of the virtual machine system comprises the following steps: step A, an interruption flag bit in virtual CPU is set after a virtual machine monitor intercepts and captures interruption generated by real physical equipment; step B, the invocation of an interruption handling function of a drive is interrupted according to the simulated hardware of the virtual CPU after the client operation system gets into the virtual machine monitor; step C, the interruption flag bit is shielded by the interruption handling function; and step D, the interruption handling function obtains data from a data buffering zone through the virtual machine monitor till no data is left in the data buffering zone of the equipment. With the adoption of the virtual machine system and the interruption handling method, data receiving process is accelerated and system performance is improved.

Description

technical field [0001] The invention relates to the interrupt processing of the guest operating system in the virtual machine system, in particular to an interrupt processing method of the virtual machine system and the guest operating system. Background technique [0002] In the existing virtual machine system, the system performance is one of the bottlenecks affecting the development of the virtual machine system, and the effective improvement of interrupt performance and network performance is of great significance to the improvement of the overall performance of the system. [0003] In the existing virtual machine system, the interrupt needs to be intercepted and forwarded by the virtual machine monitor (Virtual Machine Monitor, VMM), and the interrupt processing function in the guest operating system (Guest Operation System, GOS) is at a different address from the virtual machine system Space, can not handle interrupts concurrently, resulting in low interrupt processing...

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): G06F13/24G06F9/455
Inventor 张冬冬
Owner LENOVO (BEIJING) 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