Method and device for processing exception of virtual machine
A virtual machine and exception technology, applied in the field of communications, can solve the problems of increasing driver parsing and processing tasks, reducing virtual machine performance, and large overhead, and achieving the effects of reducing parsing and processing tasks, improving performance, and reducing system overhead.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] figure 1 It is a flow chart of a method for handling virtual machine exceptions provided by the present invention. Methods for handling virtual machine exceptions include:
[0049] S10: When the virtual machine is running in the client mode and abnormal information is detected, exit the current operation and switch to the kernel mode;
[0050] S11: Determine whether the abnormal information contains an I / O command; if yes, go to step S12, otherwise, go to step S13;
[0051] S12: processing exception information in user mode;
[0052] S13: Handle exception information in kernel mode.
[0053] When the virtual machine is running in the guest mode, if abnormal information is detected, it needs to exit the current running mode and switch to the kernel mode. Since exception information can be divided into two categories, one can be processed in user mode, and the other can be processed in kernel mode. Therefore, step S11 is executed in kernel mode. When the abnormal in...
Embodiment 2
[0071] image 3 It is a structural diagram of a device for handling virtual machine exceptions provided by the present invention. Devices for handling virtual machine exceptions include:
[0072] The client mode switching unit 10 is used to exit the current operation and switch to the kernel mode when the virtual machine runs in the client mode and detects abnormal information;
[0073] The kernel mode judging unit 11 is used to judge whether the abnormal information includes an I / O instruction, if so, triggers the user mode processing unit 12, otherwise triggers the kernel mode processing unit 13;
[0074] User mode processing unit 12, configured to process exception information in user mode;
[0075] The kernel mode processing unit 13 processes exception information in the kernel mode.
[0076] When the virtual machine is running in the guest mode, if the guest mode switching unit 10 detects abnormal information, it needs to exit the current running mode and switch to the...
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