Invention Grant
- Patent Title: Lazy timer programming for virtual machines
-
Application No.: US16244988Application Date: 2019-01-10
-
Publication No.: US10671425B2Publication Date: 2020-06-02
- Inventor: Michael Tsirkin
- Applicant: Red Hat Israel, LTD.
- Applicant Address: IL Raanana
- Assignee: Red Hat Israel, LTD.
- Current Assignee: Red Hat Israel, LTD.
- Current Assignee Address: IL Raanana
- Agency: Lowenstein Sandler LLP
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F1/24 ; G06F9/48

Abstract:
A system and method for programming a timer in a virtualized system are disclosed. In accordance with one embodiment, a virtual machine executed by a processing device detects a need to request an interrupt at a first time and reads, from the first memory location, a second time that is associated with a next interrupt of the physical host machine scheduled by a hypervisor executed by the processing device. The virtual machine determines whether the first time is less than the second time. Responsive to the first time being less than the second time, the virtual machine transfers execution control to the hypervisor. Responsive to the first time not being less than the second time, the virtual machine stores the first time in a second memory location that is writeable by the virtual machine.
Public/Granted literature
- US20190146828A1 LAZY TIMER PROGRAMMING FOR VIRTUAL MACHINES Public/Granted day:2019-05-16
Information query