Providing support for a timer associated with a virtual machine monitor
First Claim
Patent Images
1. A method comprising:
- transitioning control to a virtual machine (VM) from a virtual machine monitor (VMM);
determining that a VMM timer indicator is set to an enabling value;
identifying a VMM timer value configured by the VMM;
periodically comparing a current value of a timing source with the VMM timer value;
generating an internal event if the current value of the timing source has reached the VMM timer value; and
transitioning control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM.
2 Assignments
0 Petitions
Accused Products
Abstract
In one embodiment, a method includes transitioning control to a virtual machine (VM) from a virtual machine monitor (VMM), determining that a VMM timer indicator is set to an enabling value, and identifying a VMM timer value configured by the VMM. The method further includes periodically comparing a current value of a timing source with the VMM timer value, generating an internal event if the current value of the timing source has reached the VMM timer value, and transitioning control to the VMM in response to the internal event without incurring an event handling procedure in any one of the VMM and the VM.
-
Citations
25 Claims
-
1. A method comprising:
-
transitioning control to a virtual machine (VM) from a virtual machine monitor (VMM);
determining that a VMM timer indicator is set to an enabling value;
identifying a VMM timer value configured by the VMM;
periodically comparing a current value of a timing source with the VMM timer value;
generating an internal event if the current value of the timing source has reached the VMM timer value; and
transitioning control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM. - View Dependent Claims (2, 3)
-
-
4. The method of claim 4 wherein periodically comparing the current value of the timing source comprises:
comparing the current value of the timing source with the VMM timer value after each cycle executed by the VM.
-
5. A method comprising:
-
transitioning control to a virtual machine (VM) from a virtual machine monitor (VMM);
determining that a VMM timer indicator is set to an enabling value;
decrementing, every predefined number of ticks of a timing source, a VMM timer value, while executing the VM;
generating an internal event if determining that the VMM timer value has reached zero, and transitioning control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM. - View Dependent Claims (6, 7)
-
-
8. An apparatus comprising:
-
a virtual machine monitor (VMM);
a data structure controlled by the VMM, the data structure storing a VMM timer indicator and a VMM timer value configured by the VMM; and
VMM timer support logic to transition control to a virtual machine (VM) from the VMM, to determine that the VMM timer indicator is set to an enabling value, to periodically compare a current value of a timing source with the VMM timer value, to generate an internal event if the current value of the timing source has reached the VMM timer value, and to transition control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM. - View Dependent Claims (9, 10)
-
-
11. An apparatus comprising:
-
a virtual machine monitor (VMM);
a data structure controlled by the VMM, the data structure storing a VMM timer indicator; and
VMM timer support logic to transition control to a virtual machine (VM) from the VMM, to determine that the VMM timer indicator is set to an enabling value, to decrement, every predefined number of ticks of a timing source, a VMM timer value, while executing the VM, to generate an internal event if determining that the VMM timer value has reached zero, and to transition control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM. - View Dependent Claims (12, 13)
-
-
14. A system comprising:
-
a memory to store a timer indicator and a timer value; and
a processor, coupled to the memory, to use the timer indicator to determine during operation of a virtual machine (VM) that a virtual machine monitor (VMM) timer is enabled, to periodically compare a current value of a timing source with the timer value, and to generate an internal event if the current value of the timing source has reached the timer value, and to transition control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM. - View Dependent Claims (15, 16)
-
-
17. A system comprising:
-
a memory to store a timer indicator; and
a processor, coupled to the memory, to use the timer indicator to determine during operation of a virtual machine (VM) that a virtual machine monitor (VMM) timer is enabled, to decrement, every predefined number of ticks of a timing source, a VMM timer value, while executing the VM, to generate an internal event if determining that the VMM timer value has reached zero, and to transition control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM. - View Dependent Claims (18, 19)
-
-
20. A machine-readable medium containing instructions which, when executed by a processing system, cause the processing system to perform a method, the method comprising:
-
transitioning control to a virtual machine (VM) from a virtual machine monitor (VMM);
determining that a VMM timer indicator is set to an enabling value;
identifying a VMM timer value configured by the VMM;
periodically comparing a current value of a timing source with the VMM timer value;
if the current value of the timing source has reached the VMM timer value, generating an internal event; and
transitioning control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM. - View Dependent Claims (21, 22)
-
-
23. A machine-readable medium containing instructions which, when executed by a processing system, cause the processing system to perform a method, the method comprising:
-
transitioning control to a virtual machine (VM) from a virtual machine monitor (VMM);
determining that a VMM timer indicator is set to an enabling value;
decrementing, every predefined number of ticks of a timing source, a VMM timer value, while executing the VM;
generating an internal event if determining that the VMM timer value has reached zero, and transitioning control to the VMM in response to the internal event, without incurring an event handling procedure in any one of the VMM and the VM. - View Dependent Claims (24, 25)
-
Specification