IP Library Granted Patent US 10,025,621
Granted Patent B2
US 10,025,621 · App. 14/630,202 · Granted Jul 17, 2018

Method and system for transition from direct interrupt state to virtual interrupt state of emulated computing environments

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,025,621
App. No.
14/630,202
Granted
Jul 17, 2018
Kind
B2
Abstract

A system and method for configuring a virtual computing environment to operate in direct interrupt mode; receiving a triggering event triggering a transition from direct interrupt mode to virtual interrupt mode; copying contents of a physical interrupt queue into a virtual interrupt queue; acknowledging vectors present in the physical interrupt queue; and transitioning the virtual computing environment to virtual interrupt mode. The system includes a processor for performing the steps of the method.

Claims (38)

1. A method, comprising:

configuring a virtual computing environment to operate in direct interrupt mode;

receiving a triggering event triggering a transition from direct interrupt mode to virtual interrupt mode;

copying contents of a physical interrupt queue into a virtual interrupt queue;

acknowledging vectors present in the physical interrupt queue;

transitioning the virtual computing environment to virtual interrupt mode; and

calling a dequeueing function, wherein the dequeueing function is run in user mode in a context of a current task.

2. The method of claim 1 , wherein the triggering event comprises one of a context switch, a reset of the virtual computing environment, and a receipt of a non-direct mapped vector.

3. The method of claim 1 , wherein, when the virtual computing environment operates in direct interrupt mode, the virtual computing environment has direct access to hardware.

4. The method of claim 3 , wherein, when the virtual computing environment operates in direct interrupt mode, interrupts from the hardware are delivered to the virtual computing environment without participation of a hypervisor.

5. The method of claim 1 , wherein, when the virtual computing environment operates in virtual interrupt mode, a hypervisor delivers interrupts to the virtual computing environment.

6. The method of claim 1 , wherein the dequeueing function sets a flag to prevent rescheduling in an exception handler.

7. The method of claim 1 , wherein the virtual computing environment is virtualized by a hypervisor.

8. The method of claim 1 , wherein the physical interrupt queue is a physical interrupt queue of an x2APIC.

9. A system, comprising:

a memory storing a set of instructions; and

a processor executing the set of instructions to perform operations comprising:

instantiating a hypervisor;

instantiating, using the hypervisor, a virtual computing environment;

configuring the virtual computing environment to operate in direct interrupt mode;

receiving a triggering event triggering a transition from direct interrupt mode to virtual interrupt mode;

copying contents of a physical interrupt queue into a virtual interrupt queue;

acknowledging vectors present in the physical interrupt queue;

transitioning the virtual computing environment to virtual interrupt mode; and

calling a dequeueing function, wherein the dequeueing function sets a flag to prevent rescheduling in an exception handler.

10. The system of claim 9 , wherein the triggering event comprises one of a context switch, a reset of the virtual computing environment, and a receipt of a non-direct mapped vector.

11. The system of claim 9 , wherein, when the virtual computing environment operates in direct interrupt mode, the virtual computing environment has direct access to hardware of the system.

12. The system of claim 11 , wherein, when the virtual computing environment operates in direct interrupt mode, interrupts from the hardware are delivered to the virtual computing environment without participation of the hypervisor.

13. The system of claim 9 , wherein, when the virtual computing environment operates in virtual interrupt mode, the hypervisor delivers interrupts to the virtual computing environment.

14. The system of claim 9 , wherein the dequeueing function is run in user mode in a context of a current task.

15. The system of claim 9 , wherein the physical interrupt queue is a physical interrupt queue of an x2APIC.

16. A non-transitory computer-readable storage medium storing a set of instructions that are executable by a processor, the instructions, when executed by the processor, causing the processor to perform operations comprising:

configuring a virtual computing environment to operate in direct interrupt mode;

receiving a triggering event triggering a transition from direct interrupt mode to virtual interrupt mode;

copying contents of a physical interrupt queue into a virtual interrupt queue;

acknowledging vectors present in the physical interrupt queue;

transitioning the virtual computing environment to virtual interrupt model; and

calling a dequeueing function, wherein the dequeueing function is run in user mode in a context of a current task.

Assignments (3)
RELEASE OF SECURITY INTEREST Recorded Dec 28, 2022
From: GUGGENHEIM CORPORATE FUNDING, LLC
To: WIND RIVER SYSTEMS, INC.
Reel/Frame 062239/0590 →
PATENT SECURITY AGREEMENT Recorded Dec 24, 2018
From: WIND RIVER SYSTEMS, INC.
To: GUGGENHEIM CORPORATE FUNDING, LLC
Reel/Frame 049148/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 26, 2015
From: CANTON, DINO
To: WIND RIVER SYSTEMS, INC
Reel/Frame 035039/0581 →