Method, apparatus, and system for handling virtual machine internal fault

US9483368B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9483368-B2
Application numberUS-201314104802-A
CountryUS
Kind codeB2
Filing dateDec 12, 2013
Priority dateSep 17, 2012
Publication dateNov 1, 2016
Grant dateNov 1, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method, an apparatus, and a system for handling a virtual machine internal fault. The method includes: monitoring, by a virtual machine internal fault detecting apparatus, a state of a virtual machine operating system; when detecting that the virtual machine operating system encounters an exception, obtaining, by an exception catching module in the virtual machine internal fault detecting apparatus, exception information corresponding to the exception according to a context of the virtual machine operating system; and reporting, by the exception catching module, the exception information to a virtual machine monitoring apparatus, so that the virtual machine monitoring apparatus determines, according to the exception information, a policy for resolving the exception corresponding to the exception information, and resolves the exception corresponding to the exception information by using the policy. The present invention is applicable to a virtualized environment having a virtual machine.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for handling a virtual machine internal fault, comprising: receiving, by a virtual machine monitoring apparatus, exception handling information configured by a user, wherein the exception handling information comprises handling policies corresponding to multiple exception types: receiving, by the virtual machine monitoring apparatus, exception information sent by an exception catching module in a virtual machine internal fault detecting apparatus: determining, by the virtual machine monitoring apparatus and according to the exception information, a policy for resolving an exception corresponding to the exception information; and resolving, by the virtual machine monitoring apparatus, the exception corresponding to the exception information by using the policy, wherein the exception information comprises an exception type and a location where the exception occurs, wherein determining the policy for resolving the exception corresponding to the exception information comprises searching, by the virtual machine monitoring apparatus, the handling policies corresponding to the multiple exception types in the exception handling information for the policy corresponding to the exception type in the exception information, and wherein resolving, by the virtual machine monitoring apparatus, the exception corresponding to the exception information by using the policy comprises implementing, by the virtual machine monitoring apparatus and according to the location where the exception occurs, the policy corresponding to the exception type in the exception information at the location where the exception occurs. 2. The method according to claim 1 , wherein before receiving the exception information sent by the exception catching module in the virtual machine internal fault detecting apparatus, the method comprises: setting, by the virtual machine monitoring apparatus, a non-maskable interrupt flag bit on the virtual machine monitoring apparatus to indicate that a non-maskable interrupt exists in a virtual machine operating system; and sending, by the virtual machine monitoring apparatus, the non-maskable interrupt to the exception catching module at a predefined frequency. 3. The method according to claim 2 , wherein after sending the non-maskable interrupt to the exception catching module at a predefined frequency, the method comprises receiving, by the virtual machine monitoring apparatus, virtual machine-related information sent by the exception catching module. 4. A method for handling a virtual machine internal fault, comprising: receiving, by a virtual machine monitoring apparatus, exception handling information configured by a user, wherein the exception handling information comprises handling policies corresponding to multiple exception types: receiving, by the virtual machine monitoring apparatus, exception information sent by an exception catching module in a virtual machine internal fault detecting apparatus: determining, by the virtual machine monitoring apparatus and according to the exception information, a policy for resolving an exception corresponding to the exception information; and resolving, by the virtual machine monitoring apparatus, the exception corresponding to the exception information by using the policy, wherein the exception information comprises an exception type and a location where the exception occurs, wherein determining the policy for resolving the exception corresponding to the exception information comprises searching, by the virtual machine monitoring apparatus, the handling policies corresponding to the multiple exception types in the exception handling information for the policy corresponding to the exception type in the exception information, and wherein resolving, by the virtual machine monitoring apparatus, the exception corresponding to the exception information by using the policy comprises sending, by the virtual machine monitoring apparatus, the policy corresponding to the exception type in the exception information to a virtual machine operation executing module in a virtual machine so that the virtual machine operation executing module implements the policy corresponding to the exception type in the exception information at the location where the exception occurs. 5. The method according to claim 4 , wherein before receiving the exception information sent by the exception catching module in the virtual machine internal fault detecting apparatus, the method comprises: setting, by the virtual machine monitoring apparatus, a non-maskable interrupt flag bit on the virtual machine monitoring apparatus to indicate that a non-maskable interrupt exists in a virtual machine operating system; and sending, by the virtual machine monitoring apparatus, the non-maskable interrupt to the exception catching module at a predefined frequency. 6. The method according to claim 5 , wherein after sending the non-maskable interrupt to the exception catching module at a predefined frequency, the method comprises receiving, by the virtual machine monitoring apparatus, virtual machine-related information sent by the exception catching module. 7. A computer system, comprising a memory configured to store a program and a processor configured to read the program from the memory to: receive exception handling information configured by a user, wherein the exception handling information comprises handling policies corresponding to multiple exception types; receive exception information sent by an exception catching module in a virtual machine internal fault detecting apparatus, wherein the exception information comprises an exception type and a location where the exception occurs; search the handling policies corresponding to the multiple exception types in the exception handling information for a policy corresponding to the exception type in the exception information; and implement, according to the location where the exception occurs, the policy corresponding to the exception type in the exception information at the location where the exception occurs. 8. The computer system according to claim 7 , wherein the processor is further configured to: set, by the virtual machine monitoring apparatus, a non-maskable interrupt flag bit on the virtual machine monitoring apparatus to indicate that a non-maskable interrupt exists in a virtual machine operating system; and send, by the virtual machine monitoring apparatus, the non-maskable interrupt to the exception catching module at a predefined frequency. 9. The computer system according to claim 8 , wherein the processor is further configured to receive, by the virtual machine monitoring apparatus, virtual machine-related information sent by the exception catching module. 10. A computer system, comprising a memory configured to store a program and a processor configured to read the program from the memory and perform the steps of: receive exception handling information configured by a user, wherein the exception handling information comprises handling policies corresponding to multiple exception types; receive exception information sent by an exception catching module in a virtual machine internal fault detecting apparatus, wherein the exception information comprises an exception type and a location where the exception occurs; search the handling policies corresponding to the multiple exception types in the exception handling information for a policy corresponding to the exception type in the exception information; and send the policy corresponding to the exception type in the exception information to a virtual machine operation executing module in a virtual machine so that the virtual machine operation executing modu

Assignees

Inventors

Classifications

  • Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers · CPC title

  • Monitoring or debugging support · CPC title

  • involving virtual machines · CPC title

  • Hypervisors; Virtual machine monitors · CPC title

  • in a virtual computing platform, e.g. logically partitioned systems · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9483368B2 cover?
A method, an apparatus, and a system for handling a virtual machine internal fault. The method includes: monitoring, by a virtual machine internal fault detecting apparatus, a state of a virtual machine operating system; when detecting that the virtual machine operating system encounters an exception, obtaining, by an exception catching module in the virtual machine internal fault detecting app…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F11/1484. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 01 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).