Architecture and method for managing interrupts in a virtualized environment

US9594703B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9594703-B2
Application numberUS-201213976999-A
CountryUS
Kind codeB2
Filing dateMar 29, 2012
Priority dateMar 29, 2012
Publication dateMar 14, 2017
Grant dateMar 14, 2017

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 may comprise identifying a signal indicating real-time mode operation for a guest operating system (OS) and directly routing an interrupt for a first processor to the guest OS while the guest OS is running without causing a transition from execution by the guest OS to execution by a host system. Other embodiments are disclosed and claimed.

First claim

Opening claim text (preview).

The invention claimed is: 1. A computer implemented method, comprising: identifying a signal indicating real-time mode operation for a guest operating system (OS); disabling halt (HLT) exiting for the guest OS; directly routing an interrupt for a first processor to the guest OS while the guest OS is running without causing a transition from execution by the guest OS to execution by a host system; programming a virtual advanced programmable interrupt controller (APIC) coupled to the first processor to prevent a virtual machine (VM) exit when an end-of-interrupt (EOI) is generated; and forwarding the EOI to a virtualized APIC page for processing. 2. The computer implemented method of claim 1 , comprising, in response to the signal, clearing a bit in a virtual machine control structure (VMCS) that indicates an external interrupt is to generate the VM exit wherein a transition from execution by the guest OS to execution by a host system occurs. 3. The computer implemented method of claim 1 , comprising pinning the guest OS to the first processor during real-time operation of the guest OS. 4. The computer implemented method of claim 1 , comprising disabling HLT exiting for the guest OS by setting a value of a bit indicating whether the VM exit is to be performed when the guest OS executes an HLT instruction. 5. The computer implemented method of claim 1 , comprising instructing a bootstrap processor to forward an interrupt generated by a hard drive as an inter-processor-interrupt (IPI) to the guest OS. 6. The computer implemented method of claim 1 , comprising setting a direct translation structure for interrupts to be forwarded to the guest OS. 7. The computer implemented method of claim 1 , comprising translating the interrupts into an interrupt format of the guest operating system. 8. An apparatus, comprising: a processor circuit; a real-time interrupt module operable on the processor circuit to: identify a signal received from a guest operating system (OS) running on a first processor, the signal indicating real-time mode operation for the guest OS; disable halt (HLT) exiting for the guest OS; directly route an interrupt for the first processor to the guest OS without causing a transition from a non-root mode of operation to a root mode of operation; program a virtual advanced programmable interrupt controller (APIC) coupled to the first processor to prevent a virtual machine (VM) exit when an end-of-interrupt (EOI) is generated; and forward the EOI to a virtualized APIC page for processing. 9. The apparatus of claim 8 , the real-time interrupt module operable on the processor circuit to a clear a bit in a virtual machine control structure (VMCS) that indicates an external interrupt is to generate the VM exit in response to the signal. 10. The apparatus of claim 8 , the real-time interrupt module operable on the processor circuit to pin the guest OS to the first processor during real-time operation of the guest OS. 11. The apparatus of claim 8 , the real-time interrupt module operable on the processor circuit to disable HLT exiting for the guest OS by setting a value of a bit indicating whether the VM exit is to be performed when the guest OS executes an HLT instruction. 12. The apparatus of claim 8 , the real-time interrupt module operable on the processor circuit to translate the interrupts into an interrupt format of the guest OS during real-time operation of the guest OS. 13. The apparatus of claim 8 , the real-time interrupt module operable on the processor circuit to direct the bootstrap processor to output an external interrupt as an inter-processor interrupt for forwarding to the guest OS. 14. The apparatus of claim 8 , comprising a digital display to present output of the guest OS. 15. At least one machine readable medium comprising a plurality of instructions that in response to being executed on a computing device, cause the computing device to: identify a signal indicating real-time mode operation for a guest operating system (OS); disable halt (HLT) exiting for the guest OS; directly route an interrupt for a first processor to the guest OS while the guest OS is running without causing a transition from execution by the guest OS to execution by a host system; program a virtual advanced programmable interrupt controller (APIC) coupled to the first processor to prevent a virtual machine (VM) exit when an end-of-interrupt (EOI) is generated; and forward the EOI to a virtualized APIC page for processing. 16. The at least one machine readable medium of claim 15 , the computing device caused to in response to the signal, clear a bit in a virtual machine control structure (VMCS) that indicates an external interrupt is to generate the VM exit wherein a transition from execution by the guest OS to execution by a host system occurs. 17. The at least one machine readable medium of claim 15 , the computing device caused to pin the guest OS to the first processor during real-time operation of the guest OS. 18. The at least one machine readable medium of claim 15 , the computing device caused to disable HLT exiting for the guest OS by setting a value of a bit indicating whether the VM exit is to be performed when the guest OS executes an HLT instruction. 19. The at least one machine readable medium of claim 15 , the computing device caused to instruct a bootstrap processor to forward an interrupt generated by a hard drive as an inter-processor-interrupt (IPI) to the guest OS. 20. The at least one machine readable medium of claim 15 , the computing device caused to set a direct translation structure for interrupts to be forwarded to the guest OS. 21. The at least one machine readable medium of claim 15 , the computing device caused to translate the interrupts into an interrupt format of the guest operating system.

Assignees

Inventors

Classifications

  • Hypervisors; Virtual machine monitors · CPC title

  • G06F13/24Primary

    using interrupt (G06F13/32 takes precedence) · CPC title

  • G06F9/4812Primary

    by interrupt, e.g. masked · CPC title

  • Hypervisor-specific management and integration aspects · CPC title

  • I/O management, e.g. providing access to device drivers or storage · 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 US9594703B2 cover?
A method may comprise identifying a signal indicating real-time mode operation for a guest operating system (OS) and directly routing an interrupt for a first processor to the guest OS while the guest OS is running without causing a transition from execution by the guest OS to execution by a host system. Other embodiments are disclosed and claimed.
Who is the assignee on this patent?
Coleman James A, Oehrlein Scott M, Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06F13/24. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 14 2017 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 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).