Counter for Fast Interrupt Register Access in Hypervisors
AssigneeRed Hat Israel, Ltd.
InventorsMichael Tsirkin, Ronen Hod
Life of this patent
Estimating the term…
Abstract
Methods, systems and computer program products for fast interrupt register access in hypervisors are provided. A computer-implemented method may include maintaining a counter associated with a register to track set interrupt vectors in a virtual machine, updating the counter in response to an interrupt event in the virtual machine, and examining the counter to determine when an interrupt vector is set.
Claims20
A computer-implemented method, comprising:
- maintaining, in memory of a hypervisor executed by a processing device, a counter associated with a register to track set interrupt vectors in a virtual machine;
- updating, by the hypervisor, the counter in response to an interrupt event in the virtual machine;
- and
- examining, by the hypervisor, the counter to determine when an interrupt vector is set.
A non-transitory computer-readable storage medium having instructions recorded thereon that, when executed by a processing device, cause the processing device to perform operations comprising:
- maintaining, in memory of a hypervisor executed by a processing device, a counter associated with a register to track set interrupt vectors in a virtual machine;
- updating, by the hypervisor, the counter in response to an interrupt event in the virtual machine;
- and
- examining, by the hypervisor, the counter to determine when an interrupt vector is set.
A system, comprising:
- a memory;
- a processing device;
- and
- a hypervisor having access to the memory and executed by the processing device, wherein the hypervisor:
- maintains, in the memory, a counter associated with a register to track set interrupt vectors in a virtual machine;
- updates the counter in response to an interrupt event in the virtual machine;
- and
- examines the counter to determine when an interrupt vector is set.
Dependencies are inferred from the claim text.